From bf3e001b788d2de62bced7dd0fb4755423bae1f8 Mon Sep 17 00:00:00 2001 From: Ganesh Pavan K Date: Tue, 2 Apr 2019 14:51:23 +0100 Subject: [PATCH] Added details about stash (#33916) * Added details about stash Added details about stash * Update index.md --- guide/english/git/git-stash/index.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/guide/english/git/git-stash/index.md b/guide/english/git/git-stash/index.md index ad44a2a475..445f5d4f26 100644 --- a/guide/english/git/git-stash/index.md +++ b/guide/english/git/git-stash/index.md @@ -5,7 +5,9 @@ title: Git Stash Git has an area called the stash where you can temporarily store a snapshot of your changes without committing them to the repository. It's separate from the working directory, the staging area, or the repository. -This functionality is useful when you've made changes to a branch that you aren't ready to commit, but you need to switch to another branch. +This functionality is useful when you've made changes to a branch that you aren't ready to commit, but you need to switch to another branch. This is where git stash comes in handy. This takes a working tree and files it away in a location which can be retrieved at a later stage. The stash can then be popped to get the changes back as they were prior to the stash taking place. + + ### Stash Changes To save your changes in the stash, run the command: