Last active
March 10, 2017 09:22
-
-
Save ralph/cc26e8b787924f7614a773aa36f71fdd to your computer and use it in GitHub Desktop.
Revisions
-
ralph revised this gist
Mar 10, 2017 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ [alias] # less typing, more winning: aa = add --all --intent-to-add ap = add --patch br = branch @@ -10,16 +10,16 @@ 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 -
ralph created this gist
Mar 10, 2017 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ [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