-
-
Save camiloherbert/55cf8035c07338f1121333a1bd8d3d56 to your computer and use it in GitHub Desktop.
Add epicness and fun to your boring git stash with this fierce and magestic dragon hoard.
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 | |
# Add the location of this file to your path and then simply call | |
# git hoard instead of your regular and dull git stash. Batteries not included. | |
# Original idea & code: https://gist.github.com/MMachado-uy/cf3cd452f49d2e800e03ec9183c1163a | |
if [ -d .git ]; then | |
echo ' __----~~~~~~~~~~~------___' | |
echo ' . . ~~//====...... __--~ ~~' | |
echo ' -. \_|// |||\\ ~~~~~~::::... /~' | |
echo ' ___-==_ _-~o~ \/ ||| \\ _/~~-' | |
echo ' __---~~~.==~||\=_ -_--~/_-~|- |\\ \\ _/~' | |
echo ' _-~~ .=~ | \\-_ '-~7 /- / || \ /' | |
echo ' .~ .~ | \\ -_ / /- / || \ /' | |
echo ' / ____ / | \\ ~-_/ /|- _/ .|| \ /' | |
echo ' |~~ ~~|--~~~~--_ \ ~==-/ | \~--===~~ .\' | |
echo ' ´ ~-| /| |-~\~~ __--~~' | |
echo ' |-~~-_/ | | ~\_ _-~ /\' | |
echo ' / \ \__ \/~ \__' | |
echo ' _--~ _/ | .-~~____--~-/ ~~==.' | |
echo ' ((->/~ ´.|||´ -_| ~~-/ , . _||' | |
echo ' -_ ~\ ~~---l__i__i__i--~~_/' | |
echo ' _-~-__ ~) \--______________--~~' | |
echo ' //.-~~~-~_--~- |-------~~~~~~~~' | |
echo ' //.-~~~--\' | |
git stash $1 | |
sleep 0.1 | |
else | |
echo "Sorry, I can't find any repos to hoard here" | |
fi; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment