In this tutorial we will learn how to create git branches from local and make changes and push that branch to github
How to create branch in local git
git branch BranchName
How to switch to other local branch
git check BranchName
check all the branches in local git
git branches
check the git status about your changes and the branch you are in
git status
After making changes run the below command to change upstream branch & push changes to git hub
git push --set-upstream origin branch_name
Comments
Post a Comment