mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
new aliases for git pull/push
This commit is contained in:
parent
b12eecee6a
commit
814f54ad43
1 changed files with 6 additions and 1 deletions
|
|
@ -110,4 +110,9 @@ alias glp="_git_log_prettily"
|
|||
compdef _git glp=git-log
|
||||
|
||||
# Remove from repo all files deleted
|
||||
alias gitstrm="git st | egrep 'deleted' | sed -e 's/#//' -e 's/deleted:/git rm/' | sh"
|
||||
alias gitstrm='git st | egrep "deleted" | sed -e "s/#//" -e "s/deleted:/git rm/" | sh'
|
||||
|
||||
alias gpush='git push'
|
||||
compdef gpush=git
|
||||
alias gpull='git pull'
|
||||
compdef gpull=git
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue