gb
This commit is contained in:
parent
ac2f69eea8
commit
26b40b3bd0
1 changed files with 28 additions and 5 deletions
|
@ -12,19 +12,42 @@ add \
|
||||||
"
|
"
|
||||||
|
|
||||||
# create a branch
|
# create a branch
|
||||||
alias gb='git branch'
|
alias gb="\
|
||||||
|
git \
|
||||||
|
branch \
|
||||||
|
"
|
||||||
|
|
||||||
# delete a branch
|
# delete a branch
|
||||||
alias gbd='git branch --delete'
|
alias gbd="\
|
||||||
|
git \
|
||||||
|
branch \
|
||||||
|
--delete \
|
||||||
|
"
|
||||||
|
|
||||||
# force a branch deletion
|
# force a branch deletion
|
||||||
alias gbdf='git branch --delete --force'
|
alias gbdf="\
|
||||||
|
git \
|
||||||
|
branch \
|
||||||
|
--delete \
|
||||||
|
--force \
|
||||||
|
"
|
||||||
|
|
||||||
# list branches
|
# 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
|
# 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
|
# clone a remote repository
|
||||||
alias gc='git clone'
|
alias gc='git clone'
|
||||||
|
|
Loading…
Reference in a new issue