Git is nothing more than a collection of shell scripts, so claims David, and others. I will have to add my name to the list, after last night, when I wrote my own git subcommand... Presenting git lost. What, on $DEITY's green earth, does the lost subcommand do, you ask? Very good question, dear reader. The code is below and an explanation follows the code:
It's an alias for the stash subcommand! Put it in your path and you can run git lost and have it do the exact same thing as stash.
#!/bin/sh
git stash $*
No comments:
Post a Comment