This commit is contained in:
Marc Beninca 2023-05-14 22:56:05 +02:00
parent 3911f08261
commit ca65005707

View file

@ -56,12 +56,6 @@ branch \
--set-upstream-to \
"
# clone a remote repository
alias gc="\
git \
clone \
"
# clean untracked files
alias gcf="\
git \
@ -71,16 +65,36 @@ clean \
"
# commit the index
alias gcm='git commit -m'
alias gc="\
git \
commit \
-m \
"
# redo the last commit with a different message
alias gcma='git commit --amend -m'
alias gca="\
git \
commit \
--amend \
-m \
"
# make a root commit
alias gcmr='git commit --allow-empty --allow-empty-message -m ""'
alias gce="\
git \
commit \
--allow-empty \
--allow-empty-message \
-m \"\" \
"
# commit the index and sign
alias gcms='git commit --gpg-sign -m'
alias gcs="\
git \
commit \
--gpg-sign \
-m \
"
# switch to a branch or checkout file(s) from a commit
alias gco="\