Created
April 10, 2015 18:03
-
-
Save hartfordfive/47af7479d91a5918fec7 to your computer and use it in GitHub Desktop.
Sample Git config
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
| [filter "media"] | |
| required = true | |
| clean = git media clean %f | |
| smudge = git media smudge %f | |
| [user] | |
| name = Your Name | |
| email = [email protected] | |
| [alias] | |
| rmbranch = !sh -c 'echo "Removing local branch $0" && git branch -d $0' | |
| rmrbranch = !sh -c 'echo "Removing remote branch $0..." && git push origin :$0' | |
| clb = !sh -c 'echo "Test synchronizing with remote branches" && git remote prune origin --dry-run' | |
| clbc = !sh -c 'echo "Synchronizing with remote branches" && git remote prune origin' | |
| rmtag = !sh -c 'echo "Removing git tag $0" && git tag -d $0 && git push --delete origin $0' | |
| usebranch = !sh -c 'git checkout master && git branch $0 && git checkout $0' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment