Community driven content discussing all aspects of software development from DevOps to design patterns. I published an article recently on how to perform a hard git reset, but one of the questions ...
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 ...
It's senseless for programmers to overlook this fundamental tool.
Learn the very basics of how to interact with Git on your PC, whether you're using Windows or WSL inside of Windows. When you purchase through links on our site, we may earn an affiliate commission.