have browser, will travel Jim Roepcke's weblog, since 1999

16Dec/09Off

Git is my friend

I know Git is my friend because Git helps me out in a pinch. I think Git's the kind of friend that would help me move...

I'm working on some new features, this morning, and a customer comes in and wants the latest build of their app on their iPhone... ack, I have uncommitted changes on my branch, but I need to checkout their branch. No problem...

git stash
git checkout customerbranch
# build their app
git checkout previousbranch
git stash apply

...and I'm back to where I was a few minutes ago without having to clone another copy of repository or commit unfinished work.

Thanks Git, you're a great friend!

Tagged as: No Comments

Roepcke Computing Solutions

Jim Roepcke specializes in development and mentoring for iPhone and Mac OS X / Cocoa, WebObjects, and Python.

Contact Jim for more information.

Archive Calendar

March 2010
S M T W T F S
« Dec    
 123456
78910111213
14151617181920
21222324252627
28293031  

Blogroll

Saved Searches

Willing to Fail

Jim Roepcke is Willing to Fail

WebObjects book

I co-authored this book

Badges

Proud Member of the Association for Computing Machinery

Listed on BlogShares

Blog Directory - Blogged

Recent tweets

Meta