Working with branches

The full power of git comes with branches.

Under construction...

To switch to a branch, use

git switch my-brach

If the branch does not excist, simply add c (for create):

git switch -c my-branch

To switch back to the branch that was active before, use

git switch -

Last updated