Skip to content

Instantly share code, notes, and snippets.

@weshouman
Last active October 28, 2017 06:42
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 weshouman/1c289bb13b476585abf2 to your computer and use it in GitHub Desktop.
Save weshouman/1c289bb13b476585abf2 to your computer and use it in GitHub Desktop.
git and kompare #vcs
# add to ~/.bashrc
# add the bash function "gk" to act as a git and kompare
# Usage: gk COMMIT_HASH
# for the reference check: http://denis.tumblr.com/post/50507027/using-kompare-for-git-diffs
gk () { git diff $* | kompare - ; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment