Skip to content

Instantly share code, notes, and snippets.

View sunilchaurha's full-sized avatar

Sunil Chauraha sunilchaurha

View GitHub Profile
@sunilchaurha
sunilchaurha / MigrateSubversionToGitHub
Last active July 17, 2018 12:51 — forked from aamine/MigrateSubversionToGitHub
How to migrate Subversion repository into GitHub with all history, all branches, all tags, using standard layout and temporary bare git repository.
1. Write Authors.txt, which maps Subversion user ID to Git user.
For example:
taro = Taro Yamada <taro@example.com>
2. Create temporary, local, bare Git repository and map Subversion branches and tags.
$ git --bare init proj.git
$ cd proj.git