Hacker News new | ask | show | jobs
by deweerdt 4870 days ago
You can:

- 'git checkout -b branch_name' to create a branch

- 'git checkout branch_name' to switch branches

- 'git commit' to add dummy commits (no need to git add stuff)

Edit: formatting

2 comments

You can also:

-'git rebase branch_name'

-'git merge branch_name'

-'git checkout C6' to enter a detached head state

Congrats, you just gave a more helpful introduction than the page. :-)