mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-12-22 20:32:38 +01:00
Merge branch 'main' of github.com:git-learning-game/git-hydra into main
This commit is contained in:
commit
0d097a965d
1 changed files with 26 additions and 0 deletions
26
levels/time-machine/reorder
Normal file
26
levels/time-machine/reorder
Normal file
|
@ -0,0 +1,26 @@
|
|||
[description]
|
||||
|
||||
Oops, looks like one of our time agents messed up here. Can you put the events back into their correct order?
|
||||
|
||||
[setup]
|
||||
|
||||
mkdir bakery
|
||||
|
||||
echo has baguette > bakery/bob
|
||||
echo has money > alice
|
||||
git add .
|
||||
git commit -m "Alice is hungry"
|
||||
|
||||
echo has money > bakery/bob
|
||||
echo has baguette > alice
|
||||
git commit -a -m "Alice leaves the bakery"
|
||||
|
||||
echo has baguette > bakery/bob
|
||||
echo has money > bakery/alice
|
||||
git rm alice
|
||||
git add .
|
||||
git commit -a -m "Alice enters the bakery"
|
||||
|
||||
echo has money > bakery/bob
|
||||
echo has baguette > bakery/alice
|
||||
git commit -a -m "Alice buys a baguette"
|
Loading…
Reference in a new issue