This commit is contained in:
Marc Beninca 2024-11-17 17:02:03 +01:00
parent 237d34eef3
commit a9fa61d7a8
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -82,6 +82,16 @@ git_branch_set_upstream() {
"${@}"
}
# clean untracked files
gcf() { git_clean_force "${@}"; }
git_clean_force() {
git \
clean \
-d \
--force \
"${@}"
}
# redo the last commit with a different message
gcam() { git_commit_amend_message "${@}"; }
git_commit_amend_message() {
@ -103,16 +113,6 @@ git_commit_empty_message() {
"${@}"
}
# clean untracked files
gcf() { git_clean_force "${@}"; }
git_clean_force() {
git \
clean \
-d \
--force \
"${@}"
}
# commit the index
gcm() { git_commit_message "${@}"; }
git_commit_message() {