mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-05 05:02:02 +02:00
Add cli hints to the first three levels
This commit is contained in:
parent
437cbb7a37
commit
7ecc55a3fb
10 changed files with 75 additions and 15 deletions
levels/branches
|
@ -9,6 +9,12 @@ First, you can directly travel to the commit, like we've done it before.
|
|||
|
||||
And second, you can travel to the branch label. In this case, when you make a new commit, the branch will grow with you, and still point at the end of the timeline!
|
||||
|
||||
[cli]
|
||||
|
||||
To travel to a branch, type `git checkout name_of_the_branch`.
|
||||
|
||||
And to travel to the last commit, type `git checkout --detach name_of_the_branch`.
|
||||
|
||||
[setup]
|
||||
|
||||
echo "You wrap the birthday present, and grab your concert ticket." > you
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue