Code Editor
Terminal
Learn
Git Branching

commit on a new branch

Congratulations! You have switched to a new branch. All the commands you do on master, you can also do on this branch.

For example, to add files to the staging area, use:

git add filename

And to commit, use:

git commit -m "Commit message"

In a moment, you will make a commit on the fencing branch. On the far right, the diagram shows what will happen to the Git project.

Report a Bug
If you see a bug or any other issue with this page, please report it here.