Find and Pick
Somewhere on the branch experiments there is a commit with the message fix the rounding. It is the only one of that branch wanted on main. You are on main. Copy that commit onto it.
Example 1
starts as
* 7eb3efa (experiments) try two * dce894d fix the rounding * c30e70d try one * b527f18 (HEAD -> main) first commit nothing to commit
ends as
on branch: main commits, newest first: fix the rounding first commit files in the latest commit: a.txt rounding.py
Constraints
experimentshas 3 to 5 commits of its own- Another message may hold the same words and more: that commit is not the one
Write it in your browser, against the clock. The model script, with a note on each command it uses, comes after.
More Git problems
- Get Them BackHard
- On Top of MainHard
- Split the CommitHard
- The First Bad CommitHard
- Three Into OneHard
- Undo the MergeHard
- When Was It AddedHard
- A New BranchBeginner