HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by Gonzih | Hacker News Reader
Parent
Full thread
Gonzih
·
why do you run git add . before git stash?
View on HN
shime
·
`git stash` will not add new files to the stash by default, so adding them first makes sure it does
Gonzih
·
But `git stash --include-untracked` will
Reply on news.ycombinator.com