Reputation: 44371
I am tracking my home dir in a repo, with lots of ignores. I have just modified my .bashrc
and git does not realize about it. That means that:
.bashrc
is being ignored: no, since it is not in the .gitignore
assume-unchanged
(git update-index --assume-unchanged
). According to this I can list those files, and it is not in the list.I am out of ideas. What could be going on?
Upvotes: 5
Views: 629
Reputation: 3220
git add .bashrc
should help.
If you specify the file you want to add instead of just git add -A
will add it even if it is ignored.
Upvotes: 1