Message ID | 20190729131003.1E301E0E3B@unicorn.suse.cz |
---|---|
State | Accepted |
Delegated to: | John Linville |
Headers | show |
Series | [ethtool] gitignore: ignore vim swapfiles and patches | expand |
On Mon, Jul 29, 2019 at 03:10:03PM +0200, Michal Kubecek wrote: > The .*.swp files are created by vim to hold the undo/redo log. Add them to > .gitignore to prevent "git status" or "git gui" from showing them whenever > some file is open in editor. > > Add also *.patch to hide patches created by e.g. "git format-patch". > > Signed-off-by: Michal Kubecek <mkubecek@suse.cz> Queued for next release...thanks!
diff --git a/.gitignore b/.gitignore index f1165a2c9037..c4df588c37ea 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,6 @@ autom4te.cache .deps test-*.log test-*.trs + +.*.swp +*.patch
The .*.swp files are created by vim to hold the undo/redo log. Add them to .gitignore to prevent "git status" or "git gui" from showing them whenever some file is open in editor. Add also *.patch to hide patches created by e.g. "git format-patch". Signed-off-by: Michal Kubecek <mkubecek@suse.cz> --- .gitignore | 3 +++ 1 file changed, 3 insertions(+)