Last active
June 1, 2019 16:34
-
-
Save Luxato/fa537abc6875998c4d12008a6242f4cb to your computer and use it in GitHub Desktop.
Github utrack without delete
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
| #For single file: | |
| git rm --cached mylogfile.log | |
| #For single directory: | |
| git rm --cached -r mydirectory | |
| # Now you have to put the file/directory into .gitignore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment