The default code editor on elementary OS creates a backup of each open file by creating a copy of it and appending a ~ to it. Since those files are of no use to git, it's best to ignore those.
(I've been doing this on many projects and there are no side effects.)
The default code editor on elementary OS creates a backup of each open file by creating a copy of it and appending a
~
to it. Since those files are of no use to git, it's best to ignore those.(I've been doing this on many projects and there are no side effects.)