clean
This commit is contained in:
parent
237d34eef3
commit
a9fa61d7a8
1 changed files with 10 additions and 10 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue