Merge the Branch
The branch feature has commits that main does not have yet, and main has nothing new of its own. You are on main. Merge feature into it.
Example 1
starts as
* d542f22 (feature) fix b * 44553c0 add b * b527f18 (HEAD -> main) first commit nothing to commit
ends as
on branch: main commits, newest first: fix b add b first commit
Constraints
featureis 1 to 3 commits ahead ofmain
Write it in your browser, against the clock. The model script, with a note on each command it uses, comes after.
More Git problems
- One File Was Left OutEasy
- Rename a FileEasy
- Send It UpEasy
- Tag the ReleaseEasy
- Undo the EditEasy
- Unstage ItEasy
- What Is StagedEasy
- Bring Back the FileMedium