/ Published in: Bash

First, create ~/Sites/git-users.txt to convert the svn usernames to git users:
admin = Beanstalk
jmiller = J Miller
admin = Beanstalk
jmiller = J Miller
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
mkdir ~/Sites/repo_tmp cd ~/Sites/repo_tmp git-svn init https://svn.example.com/repo/trunk/ --no-metadata git config svn.authorsfile ~/Sites/git-users.txt git-svn fetch git-svn show-ignore > .gitignore git add .gitignore git commit -m "Convert svn ignored files to .gitignore" cd ~/Sites git clone repo_tmp repo
Comments
