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!

About Jim Roepcke

No description. Please complete your profile.
Tagged as: Comments Off
Comments (0) Trackbacks (0)

Sorry, the comment form is closed at this time.

Trackbacks are disabled.

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

December 2009
S M T W T F S
« Nov    
 12345
6789101112
13141516171819
20212223242526
27282930  

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