Jim Roepcke's weblog have browser, will travel (est. 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

September 2010
S M T W T F S
« Aug    
 1234
567891011
12131415161718
19202122232425
2627282930  

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