Skip to content
| Marketplace
Sign in
Visual Studio>Tools>VisualStudio.GitStashExtension
VisualStudio.GitStashExtension

VisualStudio.GitStashExtension

Victor Voshchinskiy

|
38,249 installs
| (25) | Free
Team explorer extension for stashes
Download

Team explorer extension for git stashes.

The support for this extension is currently discontinued.

To use git stash functionality, download Visual Studio 2019. It already includes a lot of UI actions that allow everyone to work with stashes in the Team Explorer tab. Review the following issues on the GitHub to find more information:

  • https://github.com/voshchinskiyvitya/VisualStudio.GitStashExtension/issues/26
  • https://github.com/voshchinskiyvitya/VisualStudio.GitStashExtension/issues/28

Versions

  • 3.0.0: bug fixes and improvements:
  1. Fixed issue with decoded stash description.
  2. Added possibility to undock Stash Info page from Team Explorer.
  3. Fixed issue related to Team Explorer navigation.
  4. Added functionality that allows to stash only staged files (for more details see "Stash Staged" section).
  • 2.7.0: bug fixes and improvements:
  1. Added possibility to undock Stash list page from Team Explorer.
  2. Added possibility to pop stash.
  • 2.6.0: bug fixes and improvements:
  1. New/staged/stashed files support.
  2. Added a warning before deleting the stash.
  3. Fixed issue with missing stash icon.
  4. Removed past and cut stash name context menu items.
  • 2.5.0: bug fixes and improvements:
  1. Team Explorer forward/back buttons support.
  2. Added possibility to copy stash/branch name.
  3. Added prompt to save unsaved files.
  4. Possible fix for infinite loading issue
  • 2.4.0 new functionality: Allowed stashing new files
  • 2.3.0: bug fixes and improvements:
  1. VS "Dark" theme support
  2. UI font styling issues.
  3. 'Stash' navigation item visibility for TFS.
  • 2.0.0:
  1. View stash info (files list)
  2. Compare stashed file with previous version.
  3. Error log
  • 1.0.0: basic functionality:
  1. View stash list
  2. Create stash
  3. Apply stash
  4. Delete stash

Requirements

Visual Studio 2017

Git (please download from git)

Description

This Visual Studio Team Explorer extension provides a possibility to use a git stash command with different options from Team Explorer tab. After instaling the extension you can find a new "Stashes" button on Team Explorer tab that navigates you to the Stash list page.

Button.png

On this page you can see the list of stashes for current active repositoty with a search box that helps you to find the stash by the assigned message.

Stash_list.png

The context menu is generated with the right click on each item. There are three options: apply, remove or view stash info. On the top of the page you can find Create stash section. After clicking on "Create stash" button all your current changes are stashed and the entered message are assigned to the created stash.

Stash_context_menu.png

After clicking on "Stash info" menu item you are navigated to stash info page. Here you can find all stash information:

  1. Stash number.
  2. Stash message.
  3. Stashed files.

The context menu is generated with the right click on each file. There is only one option - 'Compare with previous'. After clicking on it Visual Studio should open diff compare tab and show difference between stashed and previous file version. So you can see the contents of the stash with out applying it.

Stash_info.png

Stash Staged

Also, Git stash extension provides a possibility to stash ONLY staged files (so now the user is able to select which files will be included in the stash). This functionality is working in testing mode now. The user is able to find new link and section on the Team Explorer Changes page:

Link.png

Section.png

If there is no link, section can be opened by "Stash staged" command ("Actions" menu):

Command.png

After clicking on "Create stash" button all your staged changes are stashed and the entered message is assigned to the created stash. The stash will be applied in the following 4 steps (git operations):

  1. git stash --keep-index
  2. git stash save 'message'
  3. git stash apply stash@{1}
  4. git stash drop stash@{1}

So after this operation repository state won't be affected, but the user will get a new stash in the repository Stash list, that will contain only staged changes.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft