Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] Update FTP/HTTP mirrors.



On Tue, Apr 19, 2011 at 5:06 PM, Simon Ruderich <simon@xxxxxxxxxxxx> wrote:
> Btw. I'm managing the website changes in a Git repository, do we want to publish
> that somewhere to log the changes and let everybody commit to it?

I (for one) like that idea.  Toward that end, I created an empty git
repo in a dir named "web" (along side the current zsh dir that holds
the mirroring of the cvs repo).  Anyone can pull the (currently empty)
repo like this:

 git clone git://zsh.git.sf.net/gitroot/zsh/web zsh-web

If you want to tweak your git repo's .git/config to match that (but
with an ssh url), you could push what you have that way.  Or you could
run these commands in your repo to setup its origin:

 git remote add origin ssh://USER@xxxxxxxxxxxxxxxxxxxxxxx/gitroot/zsh/web
 git config branch.master.remote origin
 git config branch.master.merge refs/heads/master

Then you just need to "git push origin master" (since the first push
needs an explicit branch name to get it started).

..wayne..



Messages sorted by: Reverse Date, Date, Thread, Author