1

I need some combination of 'git add -p' and 'git add -A' command.

I need to review all changes, not files already included into git. What I can do?

Regards, Alex

Alex Antonov
  • 14,134
  • 7
  • 65
  • 142

1 Answers1

2

First, add all new files to the staging area (bash syntax):

git add `git ls-files --others --exclude-standard`

Then you add with patch option normally:

git add -p
talles
  • 14,356
  • 8
  • 45
  • 58