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

asiniy
  • 13,006
  • 7
  • 59
  • 135

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
  • 12,914
  • 8
  • 42
  • 58