branching git code example
Example 1: how to make a new branch git
$ git checkout -b [name_of_your_new_branch]
Example 2: git merge branch to master
$ git checkout master
Switched to branch 'master'
$ git merge iss53
Merge made by the 'recursive' strategy.
index.html | 1 +
1 file changed, 1 insertion(+)
Example 3: create a branch command
$ git remote add [name_of_your_remote] [name_of_your_new_branch]
Example 4: how to make branch in git command
git branch crazy-experiment