Last active
February 18, 2017 18:35
-
-
Save mwinckler/962ec4adce51e2cbf1ac72f7cf8dded6 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] | |
alias = config --get-regexp ^alias | |
editconfig = !sub ~/.gitconfig | |
lol = log --graph --decorate --pretty=oneline --abbrev-commit --all | |
mylog = log --graph --decorate --all --oneline | |
tlog = !TortoiseGitProc.exe /command:log & | |
ci = commit | |
s = status -s | |
lg = log --graph --decorate --all --oneline | |
dt = difftool -y --dir-diff | |
dirdiffbranch = !git dt $(git merge-base master HEAD) & | |
filelistbranch = !git diff --name-status $(git merge-base master HEAD) | |
rebasebranch = !git rebase -i $(git merge-base master HEAD) | |
incoming = "!git remote update -p; git log ..@{u}" | |
outgoing = log @{u}.. | |
purge = clean -dxf | |
fetchpr = "!f() { git fetch origin refs/pull/$1/head:pr/$1; } ; f" | |
unstage = reset HEAD -- | |
revert = checkout -- | |
amend = commit --amend -C HEAD | |
x = !GitExtensions.exe & | |
xcommit = !GitExtensions commit & | |
syncmaster = fetch origin master:master | |
shove = push --force-with-lease |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment