Created
December 20, 2016 14:56
-
-
Save bomatson/4ef493dbd2bb9b592b24c2b7aec01c7e to your computer and use it in GitHub Desktop.
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
[alias] | |
# Show verbose output about tags, branches or remotes | |
tags = tag -l | |
br = branch -a | |
paths = remote -v | |
# Pretty log output | |
lol = log --graph | |
c = commit -m | |
a = add . | |
st = status --short --branch | |
s = status | |
co = checkout | |
b = branch | |
df = diff | |
l = log --graph --decorate --abbrev-commit | |
wip = !git add . && git commit -m "wip" | |
purge = clean -xdf | |
squash = merge --squash | |
rollback = reset HEAD^ | |
upstream = branch --set-upstream | |
chore = "!sh -c 'git checkout -b chore/$1' -" | |
bug = "!sh -c 'git checkout -b bug/$1' -" | |
feature = "!sh -c 'git checkout -b feature/$1' -" | |
[format] | |
pretty = format:%C(yellow)%h%Creset | %C(cyan)%ar%Creset | %s %C(yellow)%d %Cred[%an] | |
[color] | |
# Use colors in Git commands that are capable of colored output when outputting to the terminal | |
ui = auto | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] | |
meta = yellow bold | |
frag = magenta bold | |
old = red bold | |
new = green bold | |
[color "status"] | |
added = yellow | |
changed = green | |
untracked = cyan | |
# Use `origin` as the default remote on the `master` branch in all cases | |
[branch "master"] | |
remote = origin | |
merge = refs/heads/master | |
[user] | |
name = "Bobby Matson" | |
email = [email protected] | |
[credential] | |
helper = osxkeychain | |
[core] | |
quotepath = false | |
[push] | |
default = simple |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment