Menu

#1 git clone fails

open-works-for-me
nobody
None
5
2012-03-09
2012-03-07
No

-------------------------------------------------------------------------------------------
What steps will reproduce the problem?
-------------------------------------------------------------------------------------------
1. git clone git://sciencestudio.git.sourceforge.net/gitroot/sciencestudio/sciencestudio

-------------------------------------------------------------------------------------------
What is the expected output? What do you see instead?
-------------------------------------------------------------------------------------------

Cloning into sciencestudio...
remote: Counting objects: 5449, done.
remote: Compressing objects: 100% (2919/2919), done.
remote: Total 5449 (delta 2417), reused 4721 (delta 1824)
Receiving objects: 100% (5449/5449), 23.91 MiB | 218 KiB/s, done.
Resolving deltas: 100% (2417/2417), done.
warning: remote HEAD refers to nonexistent ref, unable to checkout.

-------------------------------------------------------------------------------------------
What version of the product are you using? On what operating system?
-------------------------------------------------------------------------------------------
1. git version 1.7.5.4
2. Ubuntu Linux 64 Bits

Discussion

  • Hugo Slepicka

    Hugo Slepicka - 2012-03-07
    • labels: --> 2883465
     
  • Dylan Maxwell

    Dylan Maxwell - 2012-03-09
    • status: open --> open-postponed
     
  • Dylan Maxwell

    Dylan Maxwell - 2012-03-09

    It looks like the clone succeeded, but the checkout failed. Try executing the following commands from the repository directory:

    $ git branch anise/unstable remotes/origin/anise/unstable
    Branch anise/unstable set up to track remote branch anise/unstable from origin.
    $ git checkout anise/unstable
    Switched to branch 'anise/unstable'

    The directory should now contain the source files. On Ubuntu I like to use "gitg" to browse the repository and make commits.

     
  • Dylan Maxwell

    Dylan Maxwell - 2012-03-09

    Didn't mean to mark it as 'Postponed'.

     
  • Dylan Maxwell

    Dylan Maxwell - 2012-03-09
    • labels: 2883465 -->
    • status: open-postponed --> open-works-for-me
     

Log in to post a comment.

MongoDB Logo MongoDB