Java Scrap Book  

Java Scrap Book > Git Branch

How to clone git branch

git clone -b
git clone -b my-branch git@github.com:user/myproject.git

How to create local git branch

git checkout -b feature_branch_name

Push your branch to the remote repository

git push -u origin feature_branch_name

How to delete local branch

git branch -d branch_name
git branch -D branch_name


Reference:
Clone git branch

Copyright © 2013-2018

javascrapbook.com is a computer science content service should not be treated as the publisher or speaker of any information provided by another Computer Science content provider.

Contact email: help@javascrapbook.com