git/clone,commit
This commit is contained in:
parent
3e924813c8
commit
d7bee96329
1 changed files with 10 additions and 4 deletions
|
@ -56,6 +56,12 @@ branch \
|
|||
--set-upstream-to \
|
||||
"
|
||||
|
||||
# clone a remote repository
|
||||
alias gc="\
|
||||
git \
|
||||
clone \
|
||||
"
|
||||
|
||||
# clean untracked files
|
||||
alias gcf="\
|
||||
git \
|
||||
|
@ -65,14 +71,14 @@ clean \
|
|||
"
|
||||
|
||||
# commit the index
|
||||
alias gc="\
|
||||
alias gcm="\
|
||||
git \
|
||||
commit \
|
||||
--message \
|
||||
"
|
||||
|
||||
# redo the last commit with a different message
|
||||
alias gca="\
|
||||
alias gcma="\
|
||||
git \
|
||||
commit \
|
||||
--amend \
|
||||
|
@ -80,7 +86,7 @@ commit \
|
|||
"
|
||||
|
||||
# make a root commit
|
||||
alias gce="\
|
||||
alias gcme="\
|
||||
git \
|
||||
commit \
|
||||
--allow-empty \
|
||||
|
@ -89,7 +95,7 @@ commit \
|
|||
"
|
||||
|
||||
# commit the index and sign
|
||||
alias gcs="\
|
||||
alias gcms="\
|
||||
git \
|
||||
commit \
|
||||
--gpg-sign \
|
||||
|
|
Loading…
Reference in a new issue