blueFast
blueFast

Reputation: 44371

Git does not detect change in file

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:

  1. .bashrc is being ignored: no, since it is not in the .gitignore
  2. it is set as 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

Answers (1)

phaberest
phaberest

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

Related Questions