rebase,rm

This commit is contained in:
Marc Beninca 2024-11-17 02:45:45 +01:00
parent 5780c0ed18
commit af70985d82
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -358,44 +358,50 @@ gpf() {
} }
# rebase current branch onto another # rebase current branch onto another
alias grb="\ grb() {
git \ git \
rebase \ rebase \
" "${@}"
}
# abort current rebase # abort current rebase
alias grba="\ grba() {
git \ git \
rebase \ rebase \
--abort \ --abort \
" "${@}"
}
# continue current rebase # continue current rebase
alias grbc="\ grbc() {
git \ git \
rebase \ rebase \
--continue \ --continue \
" "${@}"
}
# force rebase without fast-forward # force rebase without fast-forward
alias grbf="\ grbf() {
git \ git \
rebase \ rebase \
--force-rebase \ --force-rebase \
" "${@}"
}
# rebase interactively # rebase interactively
alias grbi="\ grbi() {
git \ git \
rebase \ rebase \
--interactive \ --interactive \
" "${@}"
}
# remove and add removal to index # remove and add removal to index
alias grm="\ grm() {
git \ git \
rm \ rm \
" "${@}"
}
# add a new remote repository # add a new remote repository
alias grma="\ alias grma="\