Skip to content

Instantly share code, notes, and snippets.

@verespej
Last active January 5, 2022 11:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save verespej/a9fde635dbf2c8c6b93ec56dbaf84746 to your computer and use it in GitHub Desktop.
Save verespej/a9fde635dbf2c8c6b93ec56dbaf84746 to your computer and use it in GitHub Desktop.
Uncommon, but useful git commands
# Diff two arbitrary files in the file system
git diff --no-index <file-path-1> <file-path-2>
# Get the dates of stashes
git stash list --date=local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment