0

I have a Project with multiple pom.xml files inside. The folder structure looks something like this:

project:
        pom.xml
        serviceA:
                 pom.xml
        serviceB:
                 pom.xml

I now change each pom.xml file and want to stage all of the files. I figured out, that i can do it in two commands:

git add */pom.xml
git add pom.xml

Is there any way to do this with only one git add command?

timmmmmb
  • 674
  • 7
  • 26

1 Answers1

0

Please try Below Format

git add */pom.xml pom.xml
eftshift0
  • 26,375
  • 3
  • 36
  • 60