gma,gmc,gmf,gms,gmt

This commit is contained in:
Marc Beninca 2024-11-17 02:26:32 +01:00
parent 0eea7d052e
commit 235202a64d
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -294,39 +294,44 @@ glp() {
} }
# abort the current merge commit # abort the current merge commit
alias gma="\ gma() {
git \ git \
merge \ merge \
--abort \ --abort \
" "${@}"
}
# do a merge commit # do a merge commit
alias gmc="\ gmc() {
git \ git \
merge \ merge \
--no-ff \ --no-ff \
--message \ --message \
" "${@}"
}
# fast-forward to remote branch # fast-forward to remote branch
alias gmf="\ gmf() {
git \ git \
merge \ merge \
--ff-only \ --ff-only \
" "${@}"
}
# squash a branch and index its modifications # squash a branch and index its modifications
alias gms="\ gms() {
git \ git \
merge \ merge \
--squash \ --squash \
" "${@}"
}
# merge via external tool # merge via external tool
alias gmt="\ gmt() {
git \ git \
mergetool \ mergetool \
" "${@}"
}
# push to the remote repository # push to the remote repository
alias gp="\ alias gp="\