Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Become a Git Stash Pro (cretezy.com)
1 point by CraftThatBlock on Jan 27, 2021 | hide | past | favorite | 2 comments


It is just a basic introduction to git stash. The article could be improved if it would explain when to use stash and how one of the most common use cases can be avoid using using the setting: git config --global rebase.autoStash true


This is a great point - I'll likely make a follow up post regarding this. I've never seen the autoStash option (it's not even on the git-stash man pages/documentation), and definitely very useful.

Edit: I've added a section on autostashing and on the -p flag.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: