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.java
(and several other java files) with one command:
git add '*.java'
Unfortunately, that doesn't work as expected.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…