I don't know if it is possible to clone a git repo over http. There is a web interface to browsing a repo, git-web, but I don't think that is suitable for cloning. I think the standard protocols for cloning a repo are git:// ssh:// and maybe ftp://
I'm sure someone on this list can correct me if I'm wrong. On Fri, 2009-01-09 at 11:53 -0500, Kyle Hall wrote: > 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. > > k...@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.su...@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 > > > _______________________________________________ > Koha-devel mailing list > Koha-devel@lists.koha.org > http://lists.koha.org/mailman/listinfo/koha-devel -- Michael Hafen Systems Analyst and Programmer Washington County School District Utah, USA for Koha checkout http://koha-dev.washk12.org or git://koha-dev.washk12.org/koha _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel