Skip to content

Commit

Permalink
Minor tweaks to app specific stuff in bash
Browse files Browse the repository at this point in the history
  • Loading branch information
Todd Werth committed Aug 22, 2009
1 parent 8229009 commit f6243a0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion etc/bashrc_app_specific
Expand Up @@ -99,7 +99,6 @@ alias gtfetch='gt fetch'
alias gthelp='gt help'
alias gtpull='gt pull'
alias gtremove='gt rm'
alias gtcheckout='gt checkout'
alias gtmove='gt mv'
alias gtshow='gt show'
alias gtblame='gt blame'
Expand All @@ -112,6 +111,8 @@ alias gttaglist='gt tag -l'
alias gtbranch='gt branch'
alias gtbranchdelete='gt branch -d'
alias gtbranchlistall='gt branch -a'
alias gtstash='gt stash'
alias gtstashapply='gt stash apply'

gtcommit(){
gt commit -m "$@"
Expand All @@ -125,6 +126,10 @@ gtpushorigin(){
gt push origin $@
}

gtcheckout (){
gt checkout $1
gt branch
}
gtcheckouttrackingbranch (){
gt checkout -tlb $1 origin/$1
}
Expand Down
2 changes: 1 addition & 1 deletion etc/bashrc_help
Expand Up @@ -4,7 +4,7 @@ alias help_rsync="echo -e '${COLOR_LIGHT_PURPLE} rsync help:
${COLOR_NC}To mirror a local folder (result will be /bar/foo): ${COLOR_CYAN}rsync_mirror /foo /bar
${COLOR_NC}To mirror a local folder to remote with ssh: ${COLOR_CYAN}rsync_mirror -e "'"ssh -p 2222"'" foo user@server:~/bar
${COLOR_NC}'"
alias rsync_mirror="rsync -av --numeric-ids"
alias rsync_mirror="rsync -avh --numeric-ids"

alias help_scp="echo -e '${COLOR_LIGHT_PURPLE} scp help:
${COLOR_NC}Copy from remote site (copies bar.zip from remote to local current folder):
Expand Down

0 comments on commit f6243a0

Please sign in to comment.