gd
This commit is contained in:
parent
4a500e83ac
commit
64c39902a6
1 changed files with 25 additions and 8 deletions
|
@ -63,9 +63,6 @@ clean \
|
|||
--force \
|
||||
"
|
||||
|
||||
# index all and commit
|
||||
alias gacm='git add --all;git commit -m'
|
||||
|
||||
# commit the index
|
||||
alias gcm='git commit -m'
|
||||
|
||||
|
@ -118,19 +115,39 @@ alias gcun='git config user.name'
|
|||
alias gcue='git config user.email'
|
||||
|
||||
# differences from last or between commits
|
||||
alias gd='git diff'
|
||||
alias gd="\
|
||||
git \
|
||||
diff \
|
||||
"
|
||||
|
||||
# display what is indexed in cache
|
||||
alias gdc='git diff --cached'
|
||||
alias gdc="\
|
||||
git \
|
||||
diff \
|
||||
--cached \
|
||||
"
|
||||
|
||||
# indexed character-level differences
|
||||
alias gdcw='git diff --cached --word-diff-regex=.'
|
||||
alias gdcw="\
|
||||
git \
|
||||
diff \
|
||||
--cached \
|
||||
--word-diff-regex=. \
|
||||
"
|
||||
|
||||
# differences via external tool
|
||||
alias gdt='git difftool --dir-diff'
|
||||
alias gdt="\
|
||||
git \
|
||||
difftool \
|
||||
--dir-diff \
|
||||
"
|
||||
|
||||
# character-level differences
|
||||
alias gdw='git diff --word-diff-regex=.'
|
||||
alias gdw="\
|
||||
git \
|
||||
diff \
|
||||
--word-diff-regex=. \
|
||||
"
|
||||
|
||||
# fetch from the remote repository
|
||||
alias gf="\
|
||||
|
|
Loading…
Reference in a new issue