Created
March 26, 2014 23:42
-
-
Save organisciak/9796372 to your computer and use it in GitHub Desktop.
This file contains 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
# Setup Git global preferences | |
## Aliases | |
### Git up: a ff-only version of merge | |
### See: http://stackoverflow.com/questions/15316601/in-what-cases-could-git-pull-be-harmful | |
git config --global alias.up '!git remote update -p; git merge^ --ff-only @{u}' | |
### Git wiff | |
### "git diff --word-diff" >always used when writing | |
git config --global alias.wiff 'diff --word-diff' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment