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