add gprom and gpunch

pull/1496/head
LeoWW 2020-02-17 12:56:12 -08:00
parent 3fa3759e39
commit 4933f180f3
1 changed files with 3 additions and 0 deletions

View File

@ -77,6 +77,9 @@ alias gpatch="git format-patch -1"
alias gnew="git log HEAD@{1}..HEAD@{0}"
# Add uncommitted and unstaged changes to the last commit
alias gcaa="git commit -a --amend -C HEAD"
# Rebase with latest remote master
alias gprom="git fetch origin master && git rebase origin/master && git update-ref refs/heads/master origin/master"
alias gpunch="git push --force-with-lease"
alias ggui="git gui"
alias gcsam="git commit -S -am"
alias gst="git stash"