Quantcast
Viewing all articles
Browse latest Browse all 9

How to create branch on github

GIT is very popular repository in computer programming, all big player using GIT for repository in his project. In this post i will share command to create branch on GIT.GIT branch is a copy of master branch that’s mean if you want create new features/fix bug in your project, you just create a branch and pushed this on master when you tested ok, that’s mean your master branch is tested working copy of your project.
make sure Before creating a new branch pull the changes from upstream, your master needs to be up to date.

Below Steps used to create Branch:

1- git checkout -f
2- git checkout qa(if qa branch exist otherwise skip).
3- git pull(get all updated branch).
4- git checkout -b branch-name

Now You created new branch , below command will give branch permission:

1- login as root user.
2- CHMOD -Rf 777 *


Viewing all articles
Browse latest Browse all 9

Trending Articles