Last active
March 10, 2017 09:22
-
-
Save ralph/cc26e8b787924f7614a773aa36f71fdd 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
[alias] | |
# less typing, more winning: | |
aa = add --all --intent-to-add | |
ap = add --patch | |
br = branch | |
ci = commit | |
co = checkout | |
cp = cherry-pick | |
df = diff | |
l = log -1 | |
rb = rebase | |
st = status | |
# looking at stuff: | |
changelog = log --pretty=oneline | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset %G? -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -- | |
# working with local branches: | |
commend = commit --amend --no-edit | |
# working with remote repos: | |
please = push --force-with-lease | |
pushup = !git push --set-upstream origin $(git symbolic-ref --short HEAD) | |
sync = !git pull --rebase && git push | |
# stash on stereoids | |
stsh = stash --keep-index | |
staash = stash --include-untracked | |
staaash = stash --all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment