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
alias grb="\
git \
rebase \
"
grb() {
git \
rebase \
"${@}"
}
# abort current rebase
alias grba="\
git \
rebase \
--abort \
"
grba() {
git \
rebase \
--abort \
"${@}"
}
# continue current rebase
alias grbc="\
git \
rebase \
--continue \
"
grbc() {
git \
rebase \
--continue \
"${@}"
}
# force rebase without fast-forward
alias grbf="\
git \
rebase \
--force-rebase \
"
grbf() {
git \
rebase \
--force-rebase \
"${@}"
}
# rebase interactively
alias grbi="\
git \
rebase \
--interactive \
"
grbi() {
git \
rebase \
--interactive \
"${@}"
}
# remove and add removal to index
alias grm="\
git \
rm \
"
grm() {
git \
rm \
"${@}"
}
# add a new remote repository
alias grma="\