Many thanks for the info.

This section of page GitAtApache help me a lot.

Git for Apache committers

Following instructions are intended for Apache committers only.

This a simple guide showing what combination of commands you need to
execute in order to set up Git the way that you can commit your
changes back from Git to SVN. This guide is based on experience
collected from infrastructure-...@apache.org and g...@vger.kernel.org
mailing list. It does not explain all details but should be sufficient
to start working with Git effectively.

The following steps are needed to clone project from git-svn mirrors:

PROJECT_NAME="camel"
git clone git://git.apache.org/"$PROJECT_NAME"
cd "$PROJECT_NAME"/.git; wget http://git.apache.org/authors.txt; cd ..
git config svn.authorsfile ".git/authors.txt"
git svn init --prefix=origin/ --tags=tags --trunk=trunk
--branches=branches https://svn.apache.org/repos/asf/"$PROJECT_NAME";
git svn rebase

Regards,

Charles Moulliard


Apache Committer

Blog : http://cmoulliard.blogspot.com
Twitter : http://twitter.com/cmoulliard
Linkedin : http://www.linkedin.com/in/charlesmoulliard
Skype: cmoulliard



On Fri, Jun 3, 2011 at 4:09 AM, Willem Jiang <willem.ji...@gmail.com> wrote:
> Hi Charles,
>
> If you are using the Apache Git, you barely need to sync the new update from
> the apache svn yourself.
> But if the change is not appeared in git repository, you can use "git svn
> rebase " to sync the change from the Apache svn repository.
> NOTE, you need to run some script[1] to setup the svn information first.
>
> PS. You can't push the change back to the Apache Git repository.
>
> [1]http://wiki.apache.org/general/GitAtApache
>
>
> On 6/3/11 3:14 AM, Richard Kettelerij wrote:
>>
>> Hi Charles,
>>
>> The repo on GitHub (https://github.com/apache/camel) is a mirror of the
>> Apache Git repo (git://git.apache.org/camel.git) which in turn is a mirror
>> of SVN. So yes, the repo is synced with Subversion but there's a delay. I
>> once read it was approximately 1 hour at worst.
>>
>> Regards,
>> Richard
>>
>> On Thu, Jun 2, 2011 at 8:06 PM, Charles
>> Moulliard<cmoulli...@gmail.com>wrote:
>>
>>> Hi,
>>>
>>> Can someone tell me if the Camel GitHub Repo is up to date and
>>> synchronised with Apache Subversion ?
>>>
>>> Regards,
>>>
>>> Charles Moulliard
>>>
>>> Apache Committer
>>>
>>> Blog : http://cmoulliard.blogspot.com
>>> Twitter : http://twitter.com/cmoulliard
>>> Linkedin : http://www.linkedin.com/in/charlesmoulliard
>>> Skype: cmoulliard
>>>
>>
>
>
> --
> Willem
> ----------------------------------
> FuseSource
> Web: http://www.fusesource.com
> Blog:    http://willemjiang.blogspot.com (English)
>         http://jnn.javaeye.com (Chinese)
> Twitter: willemjiang
> Weibo: willemjiang
>

Reply via email to