Hipster Git Commands: Git Stache

We’re all familiar with ‘git stash’ – the ability to store changes in a special working folder without committing them to the repository.

Well… thanks to a tweet by Jimmy Bogard, we now have the hipster version:

git stache

(image from http://die-hipster-die.blogspot.com/2010/01/hipster-mustache-brigade.html)

Here’s what it looks like when you run git stache:

Screen Shot 2011 07 27 at 1 28 39 PM

and here’s how to make it work:

# put this in your ~/.gitconfig file

  stache = !echo "You probably didnt want those files, anyway..." && echo && git stash $@

enjoy your hipster git command :)

About Derick Bailey

Derick Bailey is an entrepreneur, problem solver (and creator? :P ), software developer, screecaster, writer, blogger, speaker and technology leader in central Texas (north of Austin). He runs SignalLeaf.com - the amazingly awesome podcast audio hosting service that everyone should be using, and WatchMeCode.net where he throws down the JavaScript gauntlets to get you up to speed. He has been a professional software developer since the late 90's, and has been writing code since the late 80's. Find me on twitter: @derickbailey, @mutedsolutions, @backbonejsclass Find me on the web: SignalLeaf, WatchMeCode, Kendo UI blog, MarionetteJS, My Github profile, On Google+.
This entry was posted in Command Line, Git. Bookmark the permalink. Follow any comments here with the RSS feed for this post.
  • I also replied to Jimmy’s tweet with the “git stache” alias that I created a few weeks ago:¬†stache = !git add -A && git stash

  • haha. That’s funny chit right there!

    I shall be adding that alias. ;)