Only on the Branch
Print the messages of the commits that are on feature and not on main, oldest first, one per line.
Example 1
starts as
* 44cb55a (HEAD -> main) meanwhile on main | * 5149107 (feature) finish the feature | * ca137af start the feature |/ * b527f18 first commit nothing to commit
prints
start the feature finish the feature
Constraints
featurehas 1 to 4 commits of its ownmainmay have gained commits since the split too
Write it in your browser, against the clock. The model script, with a note on each command it uses, comes after.
More Git problems
- Pick the LatestMedium
- Publish the BranchMedium
- Settle the ConflictMedium
- Since the ReleaseMedium
- Take Back the CommitMedium
- Two Lines of WorkMedium
- Undo With a New CommitMedium
- An Older CommitHard