Save Changes in Git Without Committing Using Stash

Commit later

About the screencast

If you’re right in the middle of working on a project with Git, and you need to revert to another branch, what do you do? You do not have to simply choose between losing your changes and making a commit. You can also stash your changes. The stash command is helpful in that it “stashes” away the changes made since the last commit, in such a way that you can then retrieve them later. After watching this video, you’ll have a grasp on how to interact with the stash command, and why it is so very useful.

Comments

Have your say! or become a member now to take part in the discussion

Loading...