-
-
Save xecutioner/279b38650cf837e0655b to your computer and use it in GitHub Desktop.
useful git gists
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 REMOVE FILE FROM ALL BRANCHES | |
git filter-branch --force --index-filter \ | |
'git rm --cached --ignore-unmatch contents.sql' \ | |
--prune-empty --tag-name-filter cat -- --all | |
# GIT REMOTE BRANCH FETCH AND CREATE | |
git checkout --track origin/daves_branch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment