mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-24 04:29:25 +02:00
new aliases for git plugin
This commit is contained in:
parent
04ef27078d
commit
c630ac2c31
1 changed files with 5 additions and 0 deletions
|
|
@ -215,3 +215,8 @@ alias glum='git pull upstream master'
|
|||
|
||||
alias gwch='git whatchanged -p --abbrev-commit --pretty=medium'
|
||||
alias gwip='git add -A; git rm $(git ls-files --deleted) 2> /dev/null; git commit -m "--wip--"'
|
||||
|
||||
# Remove from repo all files deleted
|
||||
alias gitstrm="git st | egrep 'deleted' | sed -e 's/#//' -e 's/deleted:/git rm/' | sh"
|
||||
|
||||
alias gitgcprune="git remote prune origin ; git gc --prune --aggressive"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue