Download RSARTE Git Integration
Transcript
Other Common Scenarios – Stashing, Resetting and Tagging In this section we'll go through a few more common actions you likely will need to know about: Stashing, resetting and tagging Stashing – Temporarily Saving Your Changes The purpose of the Git stashing feature is to make it possible to save changes you've done in your workspace but that you for some reason don't want to commit to the repository at this time. The typical example is where you are half-way through a change and don't want to commit it when you get some more urgent task you need to handle. Stashing enables you to store them in a safe place and get them back later. The mechanism thus has two parts: • Save your changes, ”stash” them • Get your changes back, ”unstash” them For command line handling of stashes and more information about stashing see for example https://git-scm.com/book/en/v1/Git-Tools-Stashing. In this section we'll focus on the RSARTE user interface actions. To stash your changes you can use the ”Stashes → Stash Changes” command that is available for a repository in the Git Repositories view. This will save both the modified files in your workspace and the files you have added to the Git index. 69