gb,gbd,gbdf,gbl,gbs

This commit is contained in:
Marc Beninca 2024-11-16 18:43:09 +01:00
parent ecb6a686f2
commit 1ddba59759
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -31,42 +31,47 @@ gap() {
} }
# create a branch # create a branch
alias gb="\ gb() {
git \ git \
branch \ branch \
" "${@}"
}
# delete a branch # delete a branch
alias gbd="\ gbd() {
git \ git \
branch \ branch \
--delete \ --delete \
" "${@}"
}
# force a branch deletion # force a branch deletion
alias gbdf="\ gbdf() {
git \ git \
branch \ branch \
--delete \ --delete \
--force \ --force \
" "${@}"
}
# list branches # list branches
alias gbl="\ gbl() {
git \ git \
branch \ branch \
--all \ --all \
--list \ --list \
--verbose \ --verbose \
--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 gbsu="\ gbs() {
git \ git \
branch \ branch \
--set-upstream-to \ --set-upstream-to \
" "${@}"
}
# clone a remote repository # clone a remote repository
alias gc="\ alias gc="\