Professional Documents
Culture Documents
==============
This is a feature available in Git using which we can create multiple
branches to work on different functionalites of the same project
By default Git performs all its activites on the master branch.
To merge a branch
git merge branch_name
Steps
1 Open git.com
2 go to any repository and modfiy some files
3 commit them in the rmeote repository
4 open git bash and give the below command
git fetch
5 A remote branch will be created where the changes
will be saved
git branch -a
The above command will show the list of all branches
6 Switch to the new remote branch
git chekout remote_branchname
7 View the changes.These changes will not be in the
master branch
8 To merge them with the master branch
9 checkout into the master branch
git checkout master
10 git merge remote_branchname