Difference between `git rm --cached` and `git update-index --assume-unchanged`?
I do not understand the difference between git rm --cached and git update-index --assume-unchanged . I'm aware that git rm --cached <file> will remove a file from the staging area. And, I know that git update-index --assume-unchanged <file> also does this. I've also seen both commands offered as suggestions to similar questions here on SO. Is there another affect of either of these two commands that makes them different? The command git rm --cached <file> is used to untrack files in a Git branch. This command will remove the file from the staging area and also will remove the file from the