Create stash

suggest change

Save the current state of working directory and the index (also known as the staging area) in a stack of stashes.

git stash

To include all untracked files in the stash use the --include-untracked or -u flags.

git stash --include-untracked

To include a message with your stash to make it more easily identifiable later

git stash save "<whatever message>"

To leave the staging area in current state after stash use the --keep-index or -k flags.

git stash --keep-index

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents