Hello. I wiant than bamboo commit changes after build. So I add script file like this:
'git commit -a -m "${bamboo.buildKey} ${bamboo.buildNumber}"
git push origin development'
But iot's not do it. Error is [detached HEAD 8943e60] So. This is simply question. How can i commit changes in bamboo task script job?