[Replicant] [libsamsung-ipc] [PATCH 01/14] gitignore: Also ignore Emacs and Vim swap files

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Wed Sep 1 14:25:22 UTC 2021


Text editors produce temporary files. They can often be used to
recover data in case of computer crash or abrupt shut down.
However when using text editors like Emacs and Vim, temporary
files often end up in the source directory, so as they are not
part of the official libsamsung-ipc source code we need to tell
git to ignore them.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org>
---
 .gitignore | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.gitignore b/.gitignore
index 900dc6b..ae9223c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,7 @@
+# Text editors
+\#.*\#
+*~
+
 Makefile.in
 Makefile
 *.o
-- 
2.33.0



More information about the Replicant mailing list