Dealing With a Scenario
Look into a scenario when one would need to stash away changes for any reason.
We'll cover the following
Scenario
Here is a basic example of a change I want to “stash”:
1 mkdir lgthw_git_stash_1
2 cd lgthw_git_stash_1
3 git init
4 echo 'Some content' > file1
5 git add file1
6 git commit -am initial
7 echo 'Some changes I am not sure about' >> file1
Get hands-on with 1400+ tech skills courses.