Friday, August 24, 2018

Git: Git Stash Commands

1. Git Stash Save

You can give a custom message to a Git Stash. Following is the command:
git stash save "message of your wish"

2. Git Stash List

You can see the list of all the stashes currently stashed.
git stash list

3. Git Stash - Specific Stash details

You can view detail of a specific stash in the stash list.
git stash show -p stash@{1}
Enter different number to see details of different stash.






No comments:

Post a Comment