I was always under the impression that you could give a stash a name by doing git stash save stashname
, which you could later on apply by doing git stash apply stashname
. But it seems that in this case all that happens is that stashname
will be used as the stash description.
Is there no way to actually name a stash? If not, what would you recommend to achieve equivalent functionality? Essentially I have a small stash which I would periodically like to apply, but don’t want to always have to hunt in git stash list
what its actual stash number is.
Related Posts:
- How to Git stash pop specific stash in 1.8.3?
- git stash apply version
- How do I ignore an error on ‘git pull’ about my local changes would be overwritten by merge?
- Stash only one file out of multiple files that have changed with Git?
- How do I ignore an error on ‘git pull’ about my local changes would be overwritten by merge?
- Stash only one file out of multiple files that have changed with Git?
- How can I git stash a specific file?
- How can I git stash a specific file?
- How do you stash an untracked file?
- How do you stash an untracked file?
- How to name and retrieve a stash by name in git?
- Stash just a single file
- Stash just a single file
- How do I ignore an error on ‘git pull’ about my local changes would be overwritten by merge?
- How to delete a stash created with git stash create?
- Undo git stash pop that results in merge conflict
- Git diff against a stash
- Move existing, uncommitted work to a new branch in Git
- Git stash pop- needs merge, unable to refresh index
- How to recover stashed uncommitted changes
- Difference between git stash pop and git stash apply
- How do I delete a Git branch locally and remotely?
- What does cherry-picking a commit with Git mean?
- How to use Git Revert
- How do I undo the most recent local commits in Git?
- Undo a Git merge that hasn’t been pushed yet
- How do I properly force a Git push?
- fatal: Not a git repository (or any of the parent directories): .git [duplicate]
- How to remove local (untracked) files from the current Git working tree
- Git pushing to remote branch
- How do I undo ‘git add’ before commit?
- How can I see the differences between two branches?
- Need to reset git branch to origin version
- What does “Changes not staged for commit” mean
- How can I merge multiple commits onto another branch as a single squashed commit?
- How do I resolve git saying “Commit your changes or stash them before you can merge”?
- Why does git say “Pull is not possible because you have unmerged files”?
- How do I rename both a Git local and remote branch name?
- Pushing empty commits to remote
- What is git fast-forwarding? [duplicate]
- fatal: The current branch master has no upstream branch
- How to cherry-pick multiple commits
- Reset local repository branch to be just like remote repository HEAD
- merge one local branch into another local branch
- Git error on commit after merge – fatal: cannot do a partial commit during a merge
- Can I share my private GitHub repository by link?
- Is there a “theirs” version of “git merge -s ours”?
- How to rename a directory/folder on GitHub website?
- Create a git patch from the uncommitted changes in the current working directory
- git push says “everything up-to-date” even though I have local changes
- How to create a .gitignore file
- How do I rename a repository on GitHub?
- Hard reset of a single file
- Not a valid object name: ‘master’
- git: fatal: Could not read from remote repository
- Why does git say “Pull is not possible because you have unmerged files”?
- How to see the changes between two commits without commits in-between?
- Git: Installing Git in PATH with GitHub client for Windows
- In a Git repository, how to properly rename a directory?
- How to “git clone” including submodules?
- Set up git to pull and push all branches
- My new Github page isn’t showing up
- Why should I use core.autocrlf=true in Git?
- How can I add a blank directory to a Git repository?
- Git Extensions: Win32 error 487: Couldn’t reserve space for cygwin’s heap, Win32 error 0
- SourceTree keeps asking for Github password
- How to change the license for a project at Github?
- Is it possible to pull just one file in Git?
- Git lfs – “this exceeds GitHub’s file size limit of 100.00 MB”
- Aborting commit due to empty commit message
- How to update a branch with master on GitHub
- How to keep a branch synchronized/updated with master?
- Can I arrange repositories into folders on Github?
- Completely cancel a rebase
- How to discard local changes and pull latest from GitHub repository
- Git: What’s the best practice to “git clone” into an existing folder?
- Git Pull is Not Possible, Unmerged Files
- Specify an SSH key for git push for a given domain
- Git merge reports “Already up-to-date” though there is a difference
- How do I “un-revert” a reverted Git commit?
- git-diff to ignore ^M
- git push not send changes to remote git repository
- Differences between Commit, Commit and Push, Commit and Sync
- How can I delete all Git branches which have been merged?
- git replace local version with remote version
- Where is git.exe located?
- How to find which git branch I am on when my disk is mounted on other server
- How to use Git and Dropbox together?
- How to modify a specified commit?
- How can I push a specific commit to a remote, and not previous commits?
- Git ignore local file changes
- Git: Where exactly is the “working directory”?
- What exactly does the “u” do? “git push -u origin master” vs “git push origin master”
- Import existing source code to GitHub
- git checkout all the files
- Git Workflow for Large, Live Site?
- Git beginner: Keeping track of on-server changes
- Initial wordpress deploy via git
- How to use wordpress with Git?
- Is it possible to checkout a beta version of WordPress via github?