Hacker News new | comments | show | ask | jobs | submit login

I'd suggest adding hunks instead of committing them so you can review your staging area at the end. It's the same flag; just use 'git add -p' instead of 'git commit -p'.



And if you'd like to diff what's in the staging area, you can use this command: git diff --cached


Thanks, that's really helpful! I just updated the post.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: