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

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable