Created
August 30, 2019 07:46
-
-
Save YaYaB/4fca07ec1966059200f14298e016412a to your computer and use it in GitHub Desktop.
Untrack file in git (when add file to gitignore and file already tracked)
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
file_path="" | |
git update-index --assume-unchanged ${file_path} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment