I have a folder containing a repository I am working on. In my repo, I have a file called README.md, as most repos do.
However, randomly, Ubuntu creates a file called README.md~
, which gets pushed up to my repository on github in my next push. Then in my public repo I have two README
files, which is slightly confusing and strange.
Why is this happening and how do I stop this?