Skip to content

Instantly share code, notes, and snippets.

@camiloherbert
camiloherbert / git-hoard
Last active April 12, 2018 19:49 — forked from MMachado-uy/git-stache
Add epicness and fun to your boring git stash with this fierce and magestic dragon hoard.
#!/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~ \/ ||| \\ _/~~-'
@MMachado-uy
MMachado-uy / git-stache
Last active April 15, 2018 13:36
Add style (and hours of dad-puns) to your boring git stash with this gorgeous and well trimmed git-stache
#!/bin/bash
# Add the location of this file to your path and then simply call
# git stache instead of your regular and dull git stash. Batteries not included.
_sleep() {
sleep 0.1
}
if [ -d .git ]; then
_sleep && echo ''