Create Anew Branch And Push To Git Code Example


Example 1: create local and remote branch


git checkout -b yourBranchName
git push -u origin yourBanchName

Example 2: how to create branch in github using git bash


$ git checkout -b [name_of_your_new_branch]

Comments

Popular posts from this blog

Android - ImageView With Rounded Only One Corner

530 Valid Hostname Is Expected When Setting Up IIS 10 For Multiple Sites

403 Access Denied On Tomcat 8 Manager App Without Prompting For User/password