file that is currently tracked, use git rm --cached to remove the file from ... foo/bar /* !/foo /foo/* !/foo/bar SEE ALSO git-rm (1), gitrepository-layout (5), git-check-ignore
ignore file. git status , git add , git rm and git clean look