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 \
|
--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 \
|
||||||
|
|
Loading…
Reference in a new issue