Skip to content

Instantly share code, notes, and snippets.

@otac0n
Last active June 19, 2023 02:31
Show Gist options
  • Save otac0n/c336521447d4c6e02142 to your computer and use it in GitHub Desktop.
Save otac0n/c336521447d4c6e02142 to your computer and use it in GitHub Desktop.
My Git Aliases
git config --global alias.graph 'log --graph --oneline --author-date-order --full-history --all --decorate'
git config --global alias.reset-working '!git diff --no-color --staged | git apply --reverse'
git config --global alias.dirdiff 'difftool --dir-diff --no-symlinks --extcmd "C:/Program Files/Beyond Compare 4/bcomp.exe"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment