Skip to content

Notes on using Git

Anh-Dung Phan edited this page Jul 13, 2013 · 5 revisions

How to create a branch with current changes?

Create a branch using

git checkout -b new_branch_name

When new_branch_name is created, you can commit and push as you do with master branch.

git add <files>
git commit ...
git push ...

For more detailed explanation, see this answer.