A New Branch
Make a new branch named experiment that starts at the latest commit, and switch to it.
Example 1
starts as
* 44553c0 (HEAD -> main) add b * b527f18 first commit nothing to commit
ends as
on branch: experiment branches: experiment: add b main: add b
Constraints
- The repository has 1 to 5 commits
- There is no branch
experimentyet
Write it in your browser, against the clock. The model script, with a note on each command it uses, comes after.
More Git problems
- Back to MainBeginner
- Commit the ChangeBeginner
- Commit the New FileBeginner
- How Many CommitsBeginner
- Stage One FileBeginner
- Start a RepositoryBeginner
- The Last MessageBeginner
- Which BranchBeginner