-
-
Save jorwan/602e07d2bcd7828f5659 to your computer and use it in GitHub Desktop.
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
| GIT | |
| === | |
| [DELETE ALL RM] git rm $(git ls-files --deleted) | |
| [DELETE BRANCH DOWN] git branch <branchName> --delete | |
| [DELETE BRANCH UP] git push origin --delete <branchName> | |
| [TRACK CHANGES] git update-index --assume-unchanged <file> | |
| [DONT TRACK CHANGES] git update-index --no-assume-unchanged <file> | |
| [.gitignore CLEANING UP] | |
| git rm -r --cached . | |
| git add . | |
| git commit -m "Fixed untracked files" | |
| [CLONE BRANCH] git clone -b <branch> git@<domain>:<user>/<myproject>.git | |
| [IGNORE MODE] git config core.fileMode false | |
| [CHECKOUT DOESN'T WORK] git config --global core.autocrlf false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment