Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

How to Switch Branches Without Losing Your Work [Video]

DZone's Guide to

How to Switch Branches Without Losing Your Work [Video]

This video provides two different answers to the question, ''How do I switch branches without losing the code I was working on?''

· Agile Zone
Free Resource

The single app analytics solutions to take your web and mobile apps to the next level.  Try today!

We regularly get questions about how to achieve a particular thing. As developers, there are parts of our workflow that trip us up, that our tools can help us with if we understand how to use them. So, we’ve decided to start answering these real-world questions with videos showing what to do.

The first video features me, Trisha Gee (Developer Advocate for IntelliJ IDEA) and Gary Hockin (Developer Advocate for PhpStorm) answering the question, “How do I switch branches without losing the code I was working on?” Through frequent battles with Git, I have learned that there’s always more than one way to do things, so in this video, we present two different options. We’re also two advocates using two different IDEs, coding in two different languages — many challenges we face as developers aren’t unique to our language or tool.

CA App Experience Analytics, a whole new level of visibility. Learn more.

Topics:
git ,agile ,branches

Published at DZone with permission of Trisha Gee, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}