I\'m using Gedit, and each time I save a file, Gedit creates a copy of it, and the name of the copy always ends with a ~. The problem is, Git always tries to track these fil
gitignore is the way to go. Just add *~ to .gitignore at the root of you repo.
*~
.gitignore