Hacker News new | ask | show | jobs
by fgeiger 1496 days ago
For new files I use `git add -N` (if memory serves right; I am on mobile) to mark them as "I want this file to be included in `git add -p`"

Edit: The flag is -N or --intent-to-add

2 comments

You can use `git add -i` to pick files to add interactivelly
This is cool, wasn't aware of it.