Photon

Issue 606: How to get photon code ?

Reported by Michael B, Jan 29, 2011

Steps to reproduce the problem:
---
1. I've used the following command line:
git clone git://projects.ceondo.com/photon.git Photon
It succeeds but I've got a warning and no file under the repository!

I'm really interested in your work with Photon.

PS: we can talk in french if you want (I'm french)

Actual result:
---
Initialized empty Git repository in /home/xxx/Photon/.git/
remote: Counting objects: 247, done.
remote: Compressing objects: 100% (227/227), done.
remote: Total 247 (delta 97), reused 0 (delta 0)
Receiving objects: 100% (247/247), 1.95 MiB | 648 KiB/s, done.
Resolving deltas: 100% (97/97), done.
warning: remote HEAD refers to nonexistent ref, unable to checkout.

Comment 1 by metagoto, Jan 29, 2011

Go to the Photon directory then fetch the "develop" 
branch:

$ git fetch origin develop:develop

Switch to the develop branch:

$ git checkout develop

Comment 2 by Michael B, Jan 29, 2011

OK thanks, it worked

Ready to test Photon now ;-)

Comment 3 by Mehdi Kabab, Feb 2, 2011

You can also use the following command for clone the repository:

git clone git://projects.ceondo.com:photon.git -b develop
Status: Fixed

Comment 4 by Mehdi Kabab, Feb 2, 2011

If you use git-flow[^1]:

    $ cd projects/
    $ git clone git://projects.ceondo.com:photon.git -b develop
    $ cd photon
    $ git branch -a
    * develop
      remotes/origin/develop
    $ git checkout -b master
    $ git flow init

[^1]: http://github.com/nvie/gitflow

Created: 2 years 4 months ago by Michael B

Updated: 2 years 4 months ago

Status: Fixed

Followed by: 2 persons

Labels:
Priority:Medium
Type:Defect