Last active
June 8, 2019 19:03
-
-
Save yifeiyin/11464d14349a3435c8507f45928ab8c3 to your computer and use it in GitHub Desktop.
Untrack a file in git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// first, Add the file to git ingnore | |
git rm -r --cached . // this does not remove the file from local disk, but will remove the file when pull | |
git add . | |
// git commit ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment