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 # switch to a branch or checkout file(s) from a commit
alias gco="\ gco() {
git \ git \
checkout \ checkout \
" "${@}"
}
# checkout an orphan branch # checkout an orphan branch
alias gcoo="\ gcoo() {
git \ git \
checkout \ checkout \
--orphan \ --orphan \
" "${@}"
}
# pick a commit # pick a commit
alias gcp="\ gcp() {
git \ git \
cherry-pick \ cherry-pick \
" "${@}"
}
# abort the commit pick # abort the commit pick
alias gcpa="\ gcpa() {
git \ git \
cherry-pick \ cherry-pick \
--abort \ --abort \
" "${@}"
}
# continue the commit pick # continue the commit pick
alias gcpc="\ gcpc() {
git \ git \
cherry-pick \ cherry-pick \
--continue \ --continue \
" "${@}"
}
# configure the user name # configure the user name
alias gcun="\ alias gcun="\