How do I recursively add files by a pattern (or glob) located in different directories?
For example, I\'d like to add A/B/C/foo.java and D/E/F/bar
A/B/C/foo.java
D/E/F/bar
I wanted to only add files that had a certain string based on git status:
git status
git status | grep string | xargs git add
and then was able to git commit -m 'commit msg to commit all changed files with "string" in the title of the file
git commit -m 'commit msg