This commit is contained in:
Marc Beninca 2023-05-14 22:15:44 +02:00
parent 4a500e83ac
commit 64c39902a6

View file

@ -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="\