-
Short answer. |
Beta Was this translation helpful? Give feedback.
Answered by
montasim
Oct 26, 2022
Replies: 1 comment
-
Let’s say you're a developer and you want to switch branches to work on something else. The issue is you don’t want to make commits in uncompleted work, so you just want to get back to this point later. The solution here is the Git stash. Git stash takes your modified tracked files and saves it on a stack of unfinished changes that you can reapply at any time. To go back to the work you can use the stash pop. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
olx24
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Let’s say you're a developer and you want to switch branches to work on something else. The issue is you don’t want to make commits in uncompleted work, so you just want to get back to this point later. The solution here is the Git stash.
Git stash takes your modified tracked files and saves it on a stack of unfinished changes that you can reapply at any time. To go back to the work you can use the stash pop.