Add new comment

Posted on by Sheldon Rampton.

These instructions failed for me when I got to the command:

git subtree pull --squash --prefix=projects/dkan http://git.drupal.org/pr oject/dkan.git 7.x-1.x

I got an error message that read:
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
Working tree has modifications. Cannot add.

It seems to me that the instructions for doing this should hew more closely to the git subtree manual instructions. In other words, you would start with something like:

git remote add dkan_remote http://git.drupal.org/pr oject/dkan.git
git fetch dkan_remote
git checkout -b dkan_branch dkan_remote/7.x-1.x

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

Filtered HTML

  • Use [acphone_sales], [acphone_sales_text], [acphone_support], [acphone_international], [acphone_devcloud], [acphone_extra1] and [acphone_extra2] as placeholders for Acquia phone numbers. Add class "acquia-phones-link" to wrapper element to make number a link.
  • To post pieces of code, surround them with <code>...</code> tags. For PHP code, you can use <?php ... ?>, which will also colour it based on syntax.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <h4> <h5> <h2> <img>
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.