Jan 192011
Create a new branch in Git
Answer:
In Git, to create a new branch, enter the command below:
# git branch test
To switch to the branch just created, type:
# git checkout test
Switched to branch "test"
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
Create a new branch in Git
Answer:
In Git, to create a new branch, enter the command below:
# git branch test
To switch to the branch just created, type:
# git checkout test
Switched to branch "test"