Add gds and gdcs to view diffs side-by-side

This commit is contained in:
2026-06-08 02:42:20 +02:00
parent af022d495e
commit c80a783a5e
2 changed files with 5 additions and 0 deletions

View File

@@ -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"'

View File

@@ -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