[备忘] 把 bzr 仓库转为 git 仓库

06 Aug 2011
$ sudo apt-get install bzr-fastimport git-core
$ bzr clone lp:~lidaobing/iptux/iptux
$ cd iptux/
$ git init
$ bzr fast-export . | git fast-import
$ gitk --all
$ rm -r .bzr
$ git reset HEAD

Tags: bzr, git

Related Posts:

comments powered by Disqus
Copyright © 2017 LI Daobing, Powered by github:pages, Jekyll, bootstrap, Designed by quanquan
Fork me on GitHub