I am using the Git Plugin of Jenkins and have a Job that needs to commit and push some changes. The git repository I am using is hosted on GitHub. Bear with me, I am somewhat new to git.
However, when I run git status
or git commit
it says # Not on any branch
. If I tell the plugin to use a 'branch specifier', i.e. origin/master
this doesn't help.
Ho do I get the plugin to behave as if I would have done git clone
on my desktop?