Last active
March 27, 2023 16:53
-
-
Save shanerk/95e75fb024a0cc15a017fb72e05a2a67 to your computer and use it in GitHub Desktop.
Git Diff to Clipboard
This file contains 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
#Linux / OSX / ZSH | |
git diff main --name-status | pbcopy | |
#Windows Powershell | |
git diff main --name-status | scb | |
#Windows CMD | |
git diff main --name-status | clip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment