S
S
startproger2019-05-21 13:18:14
git
startproger, 2019-05-21 13:18:14

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

1 answer(s)
S
startproger, 2019-05-21
@startproger

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 question

Ask a Question

731 491 924 answers to any question