Created
February 23, 2017 17:43
-
-
Save michaeljklein/ba9a1922dc5d1614314af0ba41d90493 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
# Create a post-checkout hook to show stashed changes | |
cd .git/hooks&&("#!/bin/sh\nexec git stash list --pretty=oneline --abbrev-commit">post-checkout)&&chmod +x post-checkout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment