mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +01:00
new aliases for git pull/push
This commit is contained in:
parent
67677b5e66
commit
a71471ca95
1 changed files with 6 additions and 1 deletions
|
|
@ -93,4 +93,9 @@ alias ggpnp='git pull origin $(current_branch) && git push origin $(current_bran
|
|||
compdef ggpnp=git
|
||||
|
||||
# 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