|
|
|
|
|
by muhbaasu
1496 days ago
|
|
Try `git add --patch` (or just `-p`). git will go through each change and you can decide if you want to stage it. You can even stage individual changes in a file. This doesn't cover new files though. For those you can use `git add $filename` or even globs with `git add src/some/dir/*.$extension`. |
|
Edit: The flag is -N or --intent-to-add