However, it is possible to alter this behavior and stash untracked files with the right git stash save and push options. The trick is to use the --include-untracked option or for brevity, the -u alias ...
When working with Git, it's common to encounter issues where files you've added to your .gitignore file still appear in the staging area. Clearing the Git cache is a crucial step to resolve these ...