Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to create a branch locally from another local branch in git extensions

I'm new to using Git, currently I'm using Git Extensions V2.48, I'm trying to create a local branch where I can make changes without effecting my current network branch. Currently I have checkout a remote branch ABC123 and I want to create an another new local branch with this ABC123 so I can work on new branch with my ideas and come back to ABC123 without losing data so I can push my changes in ABC123 to Remote (or work simultaneously in both local branches without disturbing another code).

I have gone through online resource, where I can find how to create a new branch http://git-extensions-documentation.readthedocs.io/en/latest/branches.html, I have not tried it practically as I'm not sure what it does and I dont want to mess up with my branches on server/Remote.

please can any one help me how to do this in Git Extensions. Thanks.

Git_Ext_V2.48

like image 958
Raj K Avatar asked Dec 07 '25 21:12

Raj K


1 Answers

Right click on the commit from where you want to create a new branch, select "Create new Branch" and that's it.

Just do not push your branch back to the remote and you're fine.

Btw.: You shouldn't check out a remote branch directly. Normally you would create a local branch with the same name and "link" it with the remote branch. GitExtensions does this automatically.

like image 154
matthias.lukaszek Avatar answered Dec 09 '25 18:12

matthias.lukaszek



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!