Publish the Branch
You are on a new branch, report, that origin does not have yet. Send it there, and make the branch on origin its upstream, so that a plain git push or git pull knows where to go from now on.
Example 1
starts as
* abed681 (HEAD -> report) start the report * b527f18 (origin/main, main) first commit nothing to commit
ends as
branches on origin: main: first commit report: start the report upstream of report: origin/report
Constraints
reporthas 1 or 2 commits of its own
Write it in your browser, against the clock. The model script, with a note on each command it uses, comes after.
More Git problems
- Settle the ConflictMedium
- Since the ReleaseMedium
- Take Back the CommitMedium
- Two Lines of WorkMedium
- Undo With a New CommitMedium
- An Older CommitHard
- Both Sides MovedHard
- Commits per AuthorHard