Last active
July 28, 2017 19:18
-
-
Save yurrriq/055e642ea205becccfaafb7db785076f to your computer and use it in GitHub Desktop.
Copy git diff of file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env bash | |
git --no-pager diff -w $1 | pbcopy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment