Add gds and gdcs to view diffs side-by-side
This commit is contained in:
2
.bashrc
2
.bashrc
@@ -80,10 +80,12 @@ alias commit='git commit'
|
|||||||
alias gc='git commit'
|
alias gc='git commit'
|
||||||
alias st='git status'
|
alias st='git status'
|
||||||
alias gd='git diff'
|
alias gd='git diff'
|
||||||
|
alias gds='git diffs'
|
||||||
alias gdl='GIT_PAGER=less git diff'
|
alias gdl='GIT_PAGER=less git diff'
|
||||||
alias gt='git gt'
|
alias gt='git gt'
|
||||||
alias gtl='GIT_PAGER=less git gt'
|
alias gtl='GIT_PAGER=less git gt'
|
||||||
alias gdc='gd --cached'
|
alias gdc='gd --cached'
|
||||||
|
alias gdcs='gds --cached'
|
||||||
alias gdcl='GIT_PAGER=less gd --cached'
|
alias gdcl='GIT_PAGER=less gd --cached'
|
||||||
alias c='git commit'
|
alias c='git commit'
|
||||||
alias vimwiki='vim -c VimwikiIndex -c "cd %:p:h" -c "silent Git pull"'
|
alias vimwiki='vim -c VimwikiIndex -c "cd %:p:h" -c "silent Git pull"'
|
||||||
|
|||||||
@@ -83,6 +83,9 @@
|
|||||||
# Show the changes which will be committed
|
# Show the changes which will be committed
|
||||||
dc = diff --cached
|
dc = diff --cached
|
||||||
|
|
||||||
|
# Show diff side-by-side
|
||||||
|
diffs = -c delta.side-by-side=true diff
|
||||||
|
|
||||||
# Fetch all remote-changes, but don't merge local branches!
|
# Fetch all remote-changes, but don't merge local branches!
|
||||||
fa = fetch --all
|
fa = fetch --all
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user