Add example of git stash use case for beginners
The stash section explains what git stash does but doesn't give a practical example of when to use it.
Location https://docs.gitlab.com/ee/gitlab-basics/basic-git-commands.html
Current Text "The git stash command temporarily saves changes that you don’t want to commit immediately. You can switch branches or perform other operations without committing incomplete changes."
Suggested Fix Add an example: "For example, if you're working on a feature but need to switch to fix a urgent bug, you can stash your current changes, switch branches, fix the bug, then come back and unstash your work."
Why This Helps Real-world examples help beginners understand when to use the command.
quick win documentation Documentation typedocumentation
Edited by 🤖 GitLab Bot 🤖