A GIT how-to for beginning and advanced developers

How To Create A GIT Branch With Your Current Changes

Example Scenario

Moving Your Pending Changes To A New Branch

$ git checkout -b topic/newbranch
*POW* Just. Like. That.

Some Sidenotes

fatal: The current branch feature/NEWBRANCH has no upstream branch. To push the current branch and set the remote as upstream, usegit push --set-upstream origin feature/feature/NEWBRANCH

How To Do This in SourceTree?

Select the previous commit, and create a new branch…

Team lead @Detacom | cross-platform | mobiledev | apps | Azure | Xamarin | Saas | ♥family+movies+food | created www.washem.app | Owner www.eekayonline.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store