-
-
Save tooshel/ac91c87cda55072f2792 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
[user] | |
name = Sheldon McGee | |
email = sheldon@tooshel.com | |
[alias] | |
A = add -A | |
a = add | |
aa = add --all | |
ae = add --edit | |
ai = add --interactive | |
amend = commit --amend -C HEAD | |
ap = add --patch | |
au = add --update | |
authors = "!git log --pretty=format:%aN | sort | uniq -c | sort -rn" | |
b = branch | |
c = commit | |
ca = commit --amend | |
cam = commit -am | |
changes = diff --name-status -r | |
cm = commit --message | |
co = checkout | |
cpc = cherry-pick | |
d = diff | |
dc = diff --cached | |
div = divergence | |
ds = diff --staged | |
h = help | |
irb = rebase --interactive | |
l = log --oneline --decorate | |
lg = log --graph --pretty=format:'%Cred%h%Creset %an -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative | |
ls-ignored = ls-files --exclude-standard --ignored --others | |
m = merge | |
mm = merge --no-ff | |
msg = commit --allow-empty -m | |
p = cherry-pick -s | |
pick = cherry-pick | |
pom = push origin master | |
pod = push origin develop | |
prune-remotes = "!for remote in `git remote`; do git remote prune $remote; done" | |
push = push --tags | |
r = remote | |
ra = !git log --graph --abbrev-commit --date=relative -20 --all --pretty='format:%C(yellow)%h%Creset -%C(red)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset' | |
rb = rebase | |
rba = rebase --abort | |
rbc = rebase --continue | |
rbs = rebase --skip | |
rh = reset --hard | |
ru = remote update --prune | |
s = status --short --branch | |
sl = shortlog | |
sm = submodule | |
sma = submodule add | |
smu = submodule update --init | |
#st = stash | |
stl = stash list | |
stp = stash pop | |
tree = log --graph --pretty=oneline --decorate | |
undo = reset --soft HEAD^ | |
wd = diff --color-words | |
wds = diff --color-words --staged | |
[branch] | |
autosetuprebase = always | |
[color] | |
branch = auto | |
diff = auto | |
status = auto | |
interactive = auto | |
ui = true | |
pager = true | |
[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 | |
[help] | |
autocorrect = 0 | |
[apply] | |
whitespace = nowarn | |
[merge] | |
tool = diffmerge | |
[mergetool "diffmerge"] | |
cmd = diffmerge --merge --result=\"$MERGED\" \"$LOCAL\" \"$BASE\" \"$REMOTE\" | |
trustexitcode = false | |
[mergetool] | |
keepBackup = false | |
[push] | |
default = tracking | |
[diff] | |
tool = diffmerge | |
renames = copies | |
mnemonicprefix = true | |
[difftool] | |
prompt = false | |
[difftool "diffmerge"] | |
cmd = diffmerge \"$LOCAL\" \"$REMOTE\" | |
[core] | |
editor = nano | |
excludesfile = ~/.gitignore_global | |
autocrlf = input | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment