# remove some.file from index, but keep the file itself untouched
git rm --cached some.file
# remove some.file from both the index and the working directory
git rm some.file
Activities mentions in this site have been supported by the following grants: