You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Getting started with Git

To import the Subversion repository into a Git repository, use the following commands:

git clone  git://git.apache.org/trafficserver.git
cd trafficserver/.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/incubator/trafficserver/traffic
git svn rebase

Alternatively, you can do the Subversion to Git conversion yourself, but it is much slower:

git svn clone -s \
    http://svn.apache.org/repos/asf/incubator/trafficserver/traffic \
    traffic.git

More details

More details for using Git and Subversion (particularly here at the ASF), see the following links:

  • No labels