/// <summary>
        /// Tries to create stash (if operatiopn wasn't successful - shows Team Explorer notification).
        /// </summary>
        /// <param name="message">message that should be assigned to the Stash.</param>
        /// <param name="includeUntrackedFiles">Flag indicates that untracked files should be included.</param>
        /// <returns>True if operation was successful, otherwise - false.</returns>
        public bool TryCreateStash(string message, bool includeUntrackedFiles)
        {
            Microsoft.VisualStudio.Shell.ThreadHelper.ThrowIfNotOnUIThread();

            var result = _dte.ItemOperations.PromptToSave;

            if (_gitCommandExecuter.TryCreateStash(message, includeUntrackedFiles, out var errorMessage))
            {
                _teamExplorer.CurrentPage.RefreshPageAndSections();
                return(true);
            }
            else
            {
                _teamExplorer?.ShowNotification(errorMessage, NotificationType.Error, NotificationFlags.None, null, Guid.NewGuid());
                return(false);
            }
        }
 public void CreateStash()
 {
     if (_gitCommandExecuter.TryCreateStash(_message, out var errorMessage))
     {
         _teamExplorer.CurrentPage.RefreshPageAndSections();
     }
     else
     {
         _teamExplorer?.ShowNotification(errorMessage, NotificationType.Error, NotificationFlags.None, null, Guid.NewGuid());
     }
 }
        public void CreateStash()
        {
            var result = _dte.ItemOperations.PromptToSave;

            if (_gitCommandExecuter.TryCreateStash(_message, _includeUntrackedFiles, out var errorMessage))
            {
                _teamExplorer.CurrentPage.RefreshPageAndSections();
                Message = string.Empty;
                IncludeUntrackedFiles = false;
            }
            else
            {
                _teamExplorer?.ShowNotification(errorMessage, NotificationType.Error, NotificationFlags.None, null, Guid.NewGuid());
            }
        }