I am using git and it makes copies of same file while I am working. It looks something like this on command line:
app/helpers/sessions_helper.rb
app/helpers/sessions_helper.rb~
Why does it happen? Am I missing something or doing it wrong way?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Git isnt doing anything actively in the repo. It only does something when you initiated commands. Its your text editor creating a working version of your current script. If you want you can add the file pattern ~* to your .gitignore file