functions

This commit is contained in:
Marc Beninca 2024-11-17 17:14:15 +01:00
parent dcef6d2d62
commit bbff4013f3
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -241,7 +241,7 @@ git_fetch() {
# fetch from remote repository and prune local orphan branches
gfp() { git_fetch_prune "${@}"; }
git_fetch_prune() {
gf \
git_fetch \
--prune \
"${@}"
}
@ -300,7 +300,7 @@ C %C(blue)%ci
# log all history
gla() { git_log_all "${@}"; }
git_log_all() {
gl \
git_log \
--all \
"${@}"
}
@ -308,7 +308,7 @@ git_log_all() {
# log all history with patches
glap() { git_log_all_patch "${@}"; }
git_log_all_patch() {
gl \
git_log \
--all \
--patch \
"${@}"
@ -317,7 +317,7 @@ git_log_all_patch() {
# log history with patches
glp() { git_log_patch "${@}"; }
git_log_patch() {
gl \
git_log \
--patch \
"${@}"
}
@ -389,7 +389,7 @@ git_push_delete() {
# force the push to the remote repository
gpf() { git_push_force "${@}"; }
git_push_force() {
gp \
git_push \
--force \
"${@}"
}