Simplify solution for level 'stash-merge' by adding recipe to index

If recipe isn't part of index, user receives an error warning that local changes to file would be overwritten by merge when executing `git stash pop`. Since the focus of this lesson is learning about popping the stash, starting with recipe already added to index neatly sidesteps this error.
This commit is contained in:
Ben Donatelli 2021-03-11 20:41:53 -06:00
parent ec9b467cc6
commit fd1a770a94

View file

@ -35,6 +35,7 @@ git stash push
echo "- Pinch of Salt" >> recipe
git checkout main
git add recipe
[win]