I'm trying to automate an update process. The process is basically:
- Check out repo A
- Check out repo B
- Run a process in repo B that updates/creates a bunch of files
- Copy files into repo A
- Compile repo A and make sure it doesn't fail
- Commit changes into repo A and repo B
- Push changes to the remote server.
Everything is working as expected except step 6. I can commit the changes, but how do I commit any new files? I tried as I've read elsewhere but that doesn't catch all the new files in all the subdirectories. Is there an easy way to do a "Add all new files"?