many git and repo aliases

This commit is contained in:
Gaetan Semet 2016-07-13 15:02:04 +02:00
commit 0b2e36f3e7
5 changed files with 25 additions and 2 deletions

View file

@ -32,6 +32,9 @@ compdef _repo ruc='repo upload'
alias yruc='yes | repo upload --cbr .'
compdef _repo ruc='repo upload'
alias rucy='yes | repo upload --cbr .'
compdef _repo rucy='repo upload'
# Repo start current branch on all projects
alias rscb='echo "Starting branch $(git branch | sed -n "/\* /s///p") on all projects" && repo start $(git branch | sed -n "/\* /s///p") --all'
compdef _repo rscb='repo start'