diff --git a/bash/alias/git.sh b/bash/alias/git.sh index b4ec3a0..fd54132 100644 --- a/bash/alias/git.sh +++ b/bash/alias/git.sh @@ -79,16 +79,17 @@ alias gcmr='git commit --allow-empty --allow-empty-message -m ""' alias gcms='git commit --gpg-sign -m' # switch to a branch or checkout file(s) from a commit -alias gco='git checkout' +alias gco="\ +git \ +checkout \ +" # checkout an orphan branch -alias gcoo='git checkout --orphan' - -# checkout development branch -alias gcod='git checkout dev' - -# checkout feature branch -alias gcof='git checkout f' +alias gcoo="\ +git \ +checkout \ +--orphan \ +" # pick a commit alias gcp="\