Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Git has many commands which allow fine-grained manipulation of the staging area; stashes are a crude afterthought in comparison. The problem is that highly encouraged workflows like "git add --patch" inevitably lead to toxic commits which were never tested because they never truly existed in the workspace.


Commits aren't dangerous until you push them. You can very easily rebase out a committed patch after you've tested it.


with great power comes great responsibility :)




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

Search: