Created
September 21, 2015 22:53
-
-
Save dhigginbotham/10e8500f685f5228408c 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
[user] | |
email = [email protected] | |
name = John Smith | |
[core] | |
mergeoptions = --no-commit | |
[alias] | |
pff = pull --ff-only | |
quick = log -1 --format='%h - %an - %ad - %s' --date=local --name-status | |
squash = merge --squash | |
blog = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative | |
bdiff = show --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --name-only --date=relative origin/master..HEAD | |
files = git show --pretty=\"format:\" --name-only | |
hist = show --pretty=\"format:\" --name-only | |
ci = commit | |
co = checkout | |
st = status | |
mom = !git fetch && git merge origin/master | |
rom = !git fetch && git reset --hard origin/master | |
pom = push origin master | |
ammend = commit --amend -C HEAD | |
ll = log --stat --abbrev-commit | |
pob = !git fetch && git merge origin/$1 && git push | |
z = reset --soft HEAD^ | |
c = !git add . --all && git commit -m | |
[mergeo] | |
commit = no | |
[color] | |
branch = auto | |
diff = auto | |
status = 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 | |
[push] | |
default = upstream |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment