git/clone,commit

This commit is contained in:
Marc Beninca 2023-05-18 12:34:05 +02:00
parent 3e924813c8
commit d7bee96329

View file

@ -56,6 +56,12 @@ branch \
--set-upstream-to \ --set-upstream-to \
" "
# clone a remote repository
alias gc="\
git \
clone \
"
# clean untracked files # clean untracked files
alias gcf="\ alias gcf="\
git \ git \
@ -65,14 +71,14 @@ clean \
" "
# commit the index # commit the index
alias gc="\ alias gcm="\
git \ git \
commit \ commit \
--message \ --message \
" "
# redo the last commit with a different message # redo the last commit with a different message
alias gca="\ alias gcma="\
git \ git \
commit \ commit \
--amend \ --amend \
@ -80,7 +86,7 @@ commit \
" "
# make a root commit # make a root commit
alias gce="\ alias gcme="\
git \ git \
commit \ commit \
--allow-empty \ --allow-empty \
@ -89,7 +95,7 @@ commit \
" "
# commit the index and sign # commit the index and sign
alias gcs="\ alias gcms="\
git \ git \
commit \ commit \
--gpg-sign \ --gpg-sign \