gc
This commit is contained in:
parent
3911f08261
commit
ca65005707
1 changed files with 24 additions and 10 deletions
|
@ -56,12 +56,6 @@ 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 \
|
||||||
|
@ -71,16 +65,36 @@ clean \
|
||||||
"
|
"
|
||||||
|
|
||||||
# commit the index
|
# commit the index
|
||||||
alias gcm='git commit -m'
|
alias gc="\
|
||||||
|
git \
|
||||||
|
commit \
|
||||||
|
-m \
|
||||||
|
"
|
||||||
|
|
||||||
# redo the last commit with a different message
|
# redo the last commit with a different message
|
||||||
alias gcma='git commit --amend -m'
|
alias gca="\
|
||||||
|
git \
|
||||||
|
commit \
|
||||||
|
--amend \
|
||||||
|
-m \
|
||||||
|
"
|
||||||
|
|
||||||
# make a root commit
|
# 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
|
# 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
|
# switch to a branch or checkout file(s) from a commit
|
||||||
alias gco="\
|
alias gco="\
|
||||||
|
|
Loading…
Reference in a new issue