Using git add command becomes tedious once the file path becomes lengthy. For e.g. git add src_test/com/abc/product/server/datasource/manager/aats/DSManger.ja
git add
git add src_test/com/abc/product/server/datasource/manager/aats/DSManger.ja
With bash, you can set "globstar" (shopt -s globstar) and then do:
shopt -s globstar
git add **/DSManger.java
to add all files called DSManager.java present below the current directory.
(**/ matches all directories and subdirectories.)
**/