Answer the question
In order to leave comments, you need to log in
Why is .bash_history added to .gitignore not being ignored?
Hello!
I added the line .bash_history to .gitignore, but it still tries to get into the commit, its status is monitored, in short it is not ignored. All other files and folders added to .gitignore are normally ignored, only with this "ugly duckling" problem.
Answer the question
In order to leave comments, you need to log in
As Aleksey Ten answered in a comment, the point was that the file was already in the git
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question