Created
November 19, 2012 14:58
-
-
Save michaelwclark/4111107 to your computer and use it in GitHub Desktop.
Git Config. Includes colored logs, aliases, and MBC project specific info.
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
| [user] | |
| email = michaelwclark@gmail.com | |
| name = Michael Clark | |
| [credential] | |
| helper = osxkeychain | |
| [alias] | |
| lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
| rmb = !sh -c 'git branch -D $1 && git push origin :$1' - | |
| cob = checkout -b | |
| up = !git fetch origin && git rebase origin/master | |
| ir = !git rebase -i origin/master | |
| br = !git branch --list --color=auto -v | |
| df = !git diff --color=auto $1 | |
| [gui] | |
| recentrepo = /Users/mclark/Projects/mbc | |
| [color] | |
| diff = auto | |
| status = auto | |
| branch = auto | |
| [format] | |
| pretty = "Commit: %C(yellow)%H%nAuthor: %C(green)%aN <%aE>%nDate: (%C(red)%ar%Creset) %ai%nSubject: %s%n%n%b" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment