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/stash
|
@ -1,57 +0,0 @@
|
|||
title = Clear the Stash
|
||||
cards = checkout commit-auto merge reset-hard
|
||||
|
||||
[description]
|
||||
|
||||
If you want to inspect your stash stack, use the command
|
||||
git stash list
|
||||
|
||||
Oh, you don't want to keep your stashed changes? There are way too many? Then go ahead and clear the stack with
|
||||
git stash clear
|
||||
If you only want to discard a certain stash entry, you can use
|
||||
git stash drop <stash>
|
||||
|
||||
Clear your stash stack!
|
||||
|
||||
---
|
||||
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
|
||||
|
||||
echo "- 200g Sugar" >> recipe
|
||||
git stash push
|
||||
|
||||
echo "- Pinch of Salt" >> recipe
|
||||
git stash push
|
||||
|
||||
git checkout main
|
||||
|
||||
[win]
|
||||
|
||||
# Did you clear your stash stack?
|
||||
test "$(git stash list | wc -l)" -eq 0
|
||||
|
||||
[actions]
|
||||
|
||||
|
||||
|
||||
[congrats]
|
||||
|
||||
All clear! :)
|
Loading…
Add table
Add a link
Reference in a new issue