Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-976

Git mirror of apache flume has a wrong HEAD ref

    XMLWordPrintableJSON

Details

    • Hide
      Currently, one can't clone a git mirror of apache/flume from GitHub (and I suspect Apache's Git as well) in one single shot:

      {code}

      Harshs-MacBook-Pro:apache harshchouraria$ git clone git@github.com:apache/flume.git
      Cloning into 'flume'...
      remote: Counting objects: 13558, done.
      remote: Compressing objects: 100% (4317/4317), done.
      remote: Total 13558 (delta 6851), reused 13474 (delta 6776)
      Receiving objects: 100% (13558/13558), 33.30 MiB | 59 KiB/s, done.
      Resolving deltas: 100% (6851/6851), done.
      warning: remote HEAD refers to nonexistent ref, unable to checkout.
      Harshs-MacBook-Pro:apache harshchouraria$ ls flume/
      Harshs-MacBook-Pro:apache harshchouraria$
      {code}

      To fix it, I needed to understand that warning and apply:
      {code}
      Harshs-MacBook-Pro:apache harshchouraria$ cd flume; git checkout trunk
      {code}

      It may be that the HEAD ref is pointing to old name {{master}} instead of what Apache uses - {{trunk}}. Should be easy to fix.
      Show
      Currently, one can't clone a git mirror of apache/flume from GitHub (and I suspect Apache's Git as well) in one single shot: {code} Harshs-MacBook-Pro:apache harshchouraria$ git clone git@github.com :apache/flume.git Cloning into 'flume'... remote: Counting objects: 13558, done. remote: Compressing objects: 100% (4317/4317), done. remote: Total 13558 (delta 6851), reused 13474 (delta 6776) Receiving objects: 100% (13558/13558), 33.30 MiB | 59 KiB/s, done. Resolving deltas: 100% (6851/6851), done. warning: remote HEAD refers to nonexistent ref, unable to checkout. Harshs-MacBook-Pro:apache harshchouraria$ ls flume/ Harshs-MacBook-Pro:apache harshchouraria$ {code} To fix it, I needed to understand that warning and apply: {code} Harshs-MacBook-Pro:apache harshchouraria$ cd flume; git checkout trunk {code} It may be that the HEAD ref is pointing to old name {{master}} instead of what Apache uses - {{trunk}}. Should be easy to fix.

    Attachments

      Activity

        People

          Unassigned Unassigned
          qwertymaniac Harsh J
          Votes:
          0 Vote for this issue
          Watchers:
          4 Start watching this issue

          Dates

            Created:
            Updated:
            Resolved: