mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-07 05:02:04 +02:00
finished the mechanism for setting the language
This commit is contained in:
parent
705cc849c2
commit
50ee071f0e
214 changed files with 94 additions and 10 deletions
levels/en_EN/stash
46
levels/en_EN/stash/stash-pop
Normal file
46
levels/en_EN/stash/stash-pop
Normal file
|
@ -0,0 +1,46 @@
|
|||
title = Pop from Stash
|
||||
cards = checkout commit-auto merge reset-hard
|
||||
|
||||
[description]
|
||||
|
||||
When you stashed your changes and you want to apply them back to your current working directory, you can use
|
||||
git stash pop
|
||||
This will remove the changes from the stash stack. If you also want to keep the changes on the stash stack, use
|
||||
git stash apply
|
||||
|
||||
---
|
||||
tipp1
|
||||
---
|
||||
tipp2
|
||||
---
|
||||
tipp3
|
||||
|
||||
[setup]
|
||||
|
||||
echo "Apple Pie:" > recipe
|
||||
|
||||
git add .
|
||||
git commit -m "creating a recipe"
|
||||
|
||||
echo "- 4 Apples" >> recipe
|
||||
|
||||
git add .
|
||||
git commit -m "Adding ingredients"
|
||||
|
||||
echo "- 500g Flour" >> recipe
|
||||
|
||||
git stash push
|
||||
git checkout main
|
||||
|
||||
[win]
|
||||
|
||||
# Did you pop the changes from the stash stack?
|
||||
test "$(git stash list | wc -l)" -eq 0
|
||||
|
||||
[actions]
|
||||
|
||||
|
||||
|
||||
[congrats]
|
||||
|
||||
Yay, you got your changes back! :)
|
Loading…
Add table
Add a link
Reference in a new issue