[Koha-devel] Git Repository Questions

Kyle Hall kyle.m.hall at gmail.com
Fri Jan 9 17:53:06 CET 2009


Ok, so I'm trying to set up my git repo.

I created a new git repo and pushed my dev machine's master to it
through ssh. I also was able to clone this git repo using ssh, but if
I try to do it through http it doesn't work.

kyle at kyle-desktop:~$ git clone http://kylehall.info/koha.git
Initialized empty Git repository in /mnt/ext/kyle/koha/.git/
warning: remote HEAD refers to nonexistent ref, unable to checkout.

Any ideas?

Thanks,
Kyle

http://www.kylehall.info
Information Technology
Crawford County Federated Library System ( http://www.ccfls.org )




On Tue, Jan 6, 2009 at 4:53 PM, Mason James <mason.loves.sushi at gmail.com> wrote:
>
> On 2009/01/7, at 10:38 AM, Kyle Hall wrote:
>
>> Hello All,
>>  I'm trying to do something that I'm sure is doable with git. I would
>> like to set a 'middle-man' git repository that I can push and pull
>> from to manage our development and production servers for our
>> switchover to koha 3 and future development.
>>
>> (git.koha.org)  --> (MyKohaGit) <---> (KohaDevServer)
>>                                      \------------->
>> (KohaProductionServer)
>>
>> So MyKohaGit pulls changes from git.koha.org, I pull and push changes
>> between MyKohaGit and KohaDevServer, and when I'm satisfied that the
>> changes are production ready, I pull the changes from MyKohaGit to
>> KohaProductionServer.
>>
>> I know I could just go straight between KohaDevServer and
>> KohaProductionServer, but I'd like to make MyKohaGit public so others
>> can track my updates that haven't made it into the official git repo
>> yet.
>>
>> Is it really as simple as cloning git.koha.org and making it available
>> via http/ssh?
>
> yep ;)
>
> install gitweb too, so people can browse your repo with ease
>
>
>> I've tried creating an empty repository and pushing to
>> it from a clone of git.koha.org, and it populates it, but I don't seem
>> to have a mechanism to update MyKohaGit directly from git.koha.org.
>
>
> a 'git pull git://git.koha.org/pub/scm/koha.git' should do it
>



More information about the Koha-devel mailing list