Git Push
Task
The repository is already cloned. Create two consecutive commits on main and push them to origin.
Requirements
- Do not run clone again.
- Make exactly two commits on
main. - Publish both commits with a single push.
Expected result
The local main, the remote-tracking branch o/main and main on origin must all point to the second new commit.
What you will learn
After completing this task you will be able to:
- accumulate several local commits before pushing;
- publish a sequence of changes with push;
- track the synchronization of the local and remote branches.
Goal
local
origin