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
alias gb="\
git \
branch \
"
gb() {
git \
branch \
"${@}"
}
# delete a branch
alias gbd="\
git \
branch \
--delete \
"
gbd() {
git \
branch \
--delete \
"${@}"
}
# force a branch deletion
alias gbdf="\
git \
branch \
--delete \
--force \
"
gbdf() {
git \
branch \
--delete \
--force \
"${@}"
}
# list branches
alias gbl="\
git \
branch \
--all \
--list \
--verbose \
--verbose \
"
gbl() {
git \
branch \
--all \
--list \
--verbose \
--verbose \
"${@}"
}
# set the link to a remote branch from a local branch
alias gbsu="\
git \
branch \
--set-upstream-to \
"
gbs() {
git \
branch \
--set-upstream-to \
"${@}"
}
# clone a remote repository
alias gc="\