Community driven content discussing all aspects of software development from DevOps to design patterns. Use the soft flag with the reset command, and this will not remove changes to tracked files. The ...
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 ...