Hello everyone,
following the directions on the Moodle Git for developers page, I have been able to setup a public repository that is a fork of the main Moodle Github repository, and then clone that to make local repositories of the various versions of Moodle 2.x.
I keep the public repository uptodate using the script supplied on the above Moodle docs page. Basically it does a "git fetch upstream" and then "git push origin refs/remotes/upstream/$BRANCH:$BRANCH" for each branch.
Everything was working well, until the new MOODLE_24_STABLE branch was added.
If I try the following:
git push origin refs/remotes/upstream/MOODLE_24_STABLE:MOODLE_24_STABLE
I get the following error message:
push branch (to github.com): MOODLE_24_STABLE
error: unable to push to unqualified destination: MOODLE_24_STABLE
The destination refspec neither matches an existing ref on the remote nor begins with refs/, and we are unable to guess a prefix based on the source ref.
error: failed to push some refs to 'git@github.com:gbateson/moodle.git'
I think I need to add the MOODLE-24_STABLE branch to my github.com repository somehow, but I can't see how to do that.
Does anybody have any suggestions?
regards
Gordon