Updating paths is incompatible with switching branches forcing

Note: you should check first the compatibility of a module with your Moodle branch by asking directly to the Maintainer before cloning the repo or - if you want to guess it - by issuing the command below before running the command (3), in order to verify what is available among the branches: origin/master remotes/origin/MOODLE_20_STABLE remotes/origin/MOODLE_21_STABLE remotes/origin/MOODLE_22_STABLE remotes/origin/MOODLE_23_STABLE remotes/origin/MOODLE_24_STABLE remotes/origin/MOODLE_25_STABLE remotes/origin/MOODLE_26_STABLE remotes/origin/MOODLE_27_STABLE remotes/origin/master § git checkout -b MOODLE_27_STABLE origin/MOODLE_27_STABLE fatal: git checkout: updating paths is incompatible with switching branches.

Did you intend to checkout 'origin/MOODLE_27_STABLE' which can not be resolved as commit?

$ cd /path/to/your/moodle/ $ cd mod (1) $ git clone https://github.com/markn86/moodle-mod_certificate (2) $ cd certificate $ git checkout -b MOODLE_27_STABLE origin/MOODLE_27_STABLE (3) $ git branch -d master (4) The command (1) changes the current directory into the mod folder of your local Moodle clone.

The command (2) creates a new subdirectory certificate and makes a local clone of vanilla Certificate repository.

This I suspect results in a comparison between an array of domain name segments (in reverse order, so top-level first) with an array consisting of a single string (the expansion of

This I suspect results in a comparison between an array of domain name segments (in reverse order, so top-level first) with an array consisting of a single string (the expansion of $1) with internal periods.

— Markus Gah, forgive my SVN ways, I’m clearly doing something wrong: [~]# git clone git://github.com/Markus Q/puppet Initialized empty Git repository in /root/puppet/.git/ remote: Counting objects: 51418, done.

remote: Compressing objects: 100% (14191/14191), done. remote: Total 51418 (delta 36850), reused 50769 (delta 36287) Receiving objects: 100% (51418/51418), 9.41 Mi B | 2676 Ki B/s, done. [~]# cd puppet [puppet]# git checkout ticket/master/2620 error: pathspec ‘ticket/master/2620’ did not match any file(s) known to git.

It’s getting tangled with the numeric ip handling logic somewhere along the way.

I’m testing various ideas, should have a fix out this morning.

||

This I suspect results in a comparison between an array of domain name segments (in reverse order, so top-level first) with an array consisting of a single string (the expansion of $1) with internal periods.— Markus Gah, forgive my SVN ways, I’m clearly doing something wrong: [~]# git clone git://github.com/Markus Q/puppet Initialized empty Git repository in /root/puppet/.git/ remote: Counting objects: 51418, done.remote: Compressing objects: 100% (14191/14191), done. remote: Total 51418 (delta 36850), reused 50769 (delta 36287) Receiving objects: 100% (51418/51418), 9.41 Mi B | 2676 Ki B/s, done. [~]# cd puppet [puppet]# git checkout ticket/master/2620 error: pathspec ‘ticket/master/2620’ did not match any file(s) known to git.It’s getting tangled with the numeric ip handling logic somewhere along the way.I’m testing various ideas, should have a fix out this morning.

) with internal periods.— Markus Gah, forgive my SVN ways, I’m clearly doing something wrong: [~]# git clone git://github.com/Markus Q/puppet Initialized empty Git repository in /root/puppet/.git/ remote: Counting objects: 51418, done.remote: Compressing objects: 100% (14191/14191), done. remote: Total 51418 (delta 36850), reused 50769 (delta 36287) Receiving objects: 100% (51418/51418), 9.41 Mi B | 2676 Ki B/s, done. [~]# cd puppet [puppet]# git checkout ticket/master/2620 error: pathspec ‘ticket/master/2620’ did not match any file(s) known to git.It’s getting tangled with the numeric ip handling logic somewhere along the way.I’m testing various ideas, should have a fix out this morning.

Leave a Reply