Last active
August 29, 2015 14:24
-
-
Save jneptune/ef19ce88edc1bc63f587 to your computer and use it in GitHub Desktop.
Git Config File
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
[core] | |
editor = vim | |
safecrlf = false | |
[user] | |
name = Joshua Neptune | |
email = [email protected] | |
[alias] | |
ec = config --global -e | |
co = checkout | |
cob = checkout -b | |
s = status -s | |
last = log -1 HEAD | |
stage-all = !git add -A && git status -s | |
unstage = "!f() { git reset -q HEAD $1 && git status -s; }; f" | |
unstage-all = !git reset -q HEAD && git status -s | |
ignore = "!f() { echo $1 >> .gitignore; }; f" | |
log-pretty = log --pretty=format:'%C(red)%h%C(reset) -%C(yellow)%d%C(reset)%s %C(green)(%cr) %C(bold blue)<%an>%C(reset)' --abbrev-commit --date=relative |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment