How to Git Stash Tracked, Untracked and Ignored Files?

You can stash all files (which will include tracked, untracked and ignored files) by using the --all (or -a shorthand) flag with the git stash command like so:

git stash --all
git stash -a

Hope you found this post useful. It was published . Please show your love and support by sharing this post.