joannesguillemot / advanced-find

Automatically exported from code.google.com/p/advanced-find
0 stars 0 forks source link

Cannot checkout source code #85

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Following the directions on the download page, I tried doing a git clone:

$ git clone https://code.google.com/p/advanced-find/ 
Cloning into 'advanced-find'...
remote: Counting objects: 1000, done.
remote: Finding sources: 100% (1000/1000), done.
remote: Total 1000 (delta 463)
Receiving objects: 100% (1000/1000), 268.70 KiB | 63 KiB/s, done.
Resolving deltas: 100% (463/463), done.
warning: remote HEAD refers to nonexistent ref, unable to checkout.

I've successfully checked out many other projects via git on this machine, so 
I'm thinking there has to be something wrong with the repository.

Original issue reported on code.google.com by e...@yorba.org on 14 Jan 2013 at 9:05

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I am using eclipse and EGit and it can clone the repository properly.
There are no master branch in the repository, and I guess that why you failed 
to clone the repository.
Maybe you need more parameter at your command to clone the repository.

Original comment by swatch.c...@gmail.com on 15 Jan 2013 at 4:03

GoogleCodeExporter commented 8 years ago
In that case, could you edit the page so the checkout line is accurate?

Also, I was wrong, I copied that from the "Source" page rather than the 
"Downloads" page.

Original comment by e...@yorba.org on 15 Jan 2013 at 4:14

GoogleCodeExporter commented 8 years ago
Actually the clone is successful.
You just need to create your local branch following steps.

1. git clone https://coce.google.com/p/advanced-find/
    Ignore the warning.
2. cd advanced-find
3. git branch dev3.x refs/remotes/origin/dev3.x
4. Repeat 3 to create other branch. There are four branch (2.x, dev2.x, 3.x,  
dev3.x) in the repository.

Original comment by swatch.c...@gmail.com on 15 Jan 2013 at 7:12

GoogleCodeExporter commented 8 years ago
Nice, that worked!  Thanks for figuring that out.  Git can be so 
counter-intuitive sometimes.

Would you consider adding that info to the wiki so others can find it?  Also so 
I can find it next time I get confused and Google it, because that will 
probably happen too.

Original comment by e...@yorba.org on 15 Jan 2013 at 7:20

GoogleCodeExporter commented 8 years ago
Issue 104 has been merged into this issue.

Original comment by swatch.c...@gmail.com on 9 May 2013 at 2:10