On Jun 14, 2013 7:43 PM, "Jay Pipes" <jayp...@gmail.com> wrote:
>
> On 06/06/2013 05:12 PM, Alex Blewitt wrote:
>>
>> git clone ...
>> git fetch refs/meta/config
>> git checkout refs/meta/config
>> vi project.config
>
>
> Am I missing something obvious here?
>
> jpipes@uberbox:~/repos/att-cloud$ git clone att-gerrit:All-Projects.git
> Cloning into 'All-Projects'...
> remote: Counting objects: 4, done
> remote: Finding sources: 100% (4/4)
> Receiving objects: 100% (4/4), done.
> remote: Total 4 (delta 0), reused 0 (delta 0)
> Note: checking out '819172fa56eec144fed63bc592ee4dfdf6d1dcd0'.
>
> You are in 'detached HEAD' state. You can look around, make experimental
> changes and commit them, and you can discard any commits you make in this
> state without impacting any branches by performing another checkout.
>
> If you want to create a new branch to retain commits you create, you may
> do so (now or later) by using -b with the checkout command again. Example:
>
> git checkout -b new_branch_name
>
> jpipes@uberbox:~/repos/att-cloud$ cd All-Projects/
> jpipes@uberbox:~/repos/att-cloud/All-Projects$ git fetch refs/meta/config
> fatal: 'refs/meta/config' does not appear to be a git repository
I think this should be
git fetch origin refs/meta/config
> fatal: Could not read from remote repository.
>
> Please make sure you have the correct access rights
> and the repository exists.
>
> Thanks,
>
> -jay
>