gco,gcoo,gcp,gcpa,gcpc

This commit is contained in:
Marc Beninca 2024-11-16 18:51:33 +01:00
parent a92770848e
commit 3554f0b905
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -115,37 +115,42 @@ commit \
"
# switch to a branch or checkout file(s) from a commit
alias gco="\
gco() {
git \
checkout \
"
"${@}"
}
# checkout an orphan branch
alias gcoo="\
gcoo() {
git \
checkout \
--orphan \
"
"${@}"
}
# pick a commit
alias gcp="\
gcp() {
git \
cherry-pick \
"
"${@}"
}
# abort the commit pick
alias gcpa="\
gcpa() {
git \
cherry-pick \
--abort \
"
"${@}"
}
# continue the commit pick
alias gcpc="\
gcpc() {
git \
cherry-pick \
--continue \
"
"${@}"
}
# configure the user name
alias gcun="\