diff --git a/bash/alias/git.sh b/bash/alias/git.sh index 6d24bb8..b0edb43 100644 --- a/bash/alias/git.sh +++ b/bash/alias/git.sh @@ -12,19 +12,42 @@ add \ " # create a branch -alias gb='git branch' +alias gb="\ +git \ +branch \ +" # delete a branch -alias gbd='git branch --delete' +alias gbd="\ +git \ +branch \ +--delete \ +" # force a branch deletion -alias gbdf='git branch --delete --force' +alias gbdf="\ +git \ +branch \ +--delete \ +--force \ +" # list branches -alias gbl='git branch --all --list --verbose --verbose' +alias gbl="\ +git \ +branch \ +--all \ +--list \ +--verbose \ +--verbose \ +" # set the link to a remote branch from a local branch -alias gbu='git branch -u' +alias gbsu="\ +git \ +branch \ +--set-upstream-to \ +" # clone a remote repository alias gc='git clone'