I am trying to achieve git clone, git commit, git push operations for multiple projects using this git repo code "Multiproject Git - Gradle Script " .
This code works perfectly with Git Clone operation, But somehow it doesn't work when I do commit or push. it accepts git commit and push commands via gradle without any error(shows success message) but when I clone repo again to verify contents , it comes empty.
I tried using direct commands on my git url, it works fine. but with this script I am not able to achieve same.
I am sure that git clone is working fine, the way it should work. but git commit or git push is not sending any files from local cloned repo to remote repo.
If any one can help.
Thanks in advance.