SVN-SVNプロジェクトがGITに移行
2208 ワード
svnには多くの利点がありますが、gitの出現はsvnに対する衝撃は確かに大きく、現在多くの会社のプロジェクトのすべての移行のgitにあります.以下は私自身がsvn移行プロジェクトをgitに行うときに整理した資料で、svnの提出ログ記録もGitに移行します.
しばらくこれらを整理して、具体的な操作が分からないものがあれば、私に連絡してください.右側のqq号、一緒に検討することを歓迎します.関連アクション:1:コマンドライン実行
2:TortoiseGitクライアントを使用しても関連操作が可能
参考資料:8.2 Gitと他のシステム-Gitへの移行https://git-scm.com/book/zh/v1/Git-%E4%B8%8E%E5%85%B6%E4%BB%96%E7%B3%BB%E7%BB%9F-%E8%BF%81%E7%A7%BB%E5%88%B0-Git
コードライブラリをSVNからGitに移行し、すべてのcommitレコードを保持http://www.lovelucy.info/codebase-from-svn-to-git-migration-keep-commit-history.html
svn gitに移行する全プロセスhttp://www.aikaiyuan.com/6584.html
gitとsvnが踊るhttps://www.chenyudong.com/archives/git-and-svn-collaboration.html
SVNがGitに移行するプロセス(+いくつかのテクニック)http://www.blogjava.net/lishunli/archive/2012/01/15/368562.html
しばらくこれらを整理して、具体的な操作が分からないものがあれば、私に連絡してください.右側のqq号、一緒に検討することを歓迎します.関連アクション:1:コマンドライン実行
##clone svn -> git : svn://, http://, https://. URL base repository, ##http://svn.mycompany.com/myrepo/repository. /trunk, /tag /branches 。
git svn clone svn://10.68.245.11/tclshop --authors-file=users.txt --no-metadata -s dufy-move
## clone
cd dfuy-move
## SVN commit
git svn fetch
## git svn commit
git log --pretty=oneline
## -- svn tag git ,
git branch -r
## -tag
git tag tags_20160329_hg origin/tags/tags_20160329_hg
## (tags)
git branch -r -d origin/tags/tags_20160329_hg
## git
git remote add origin git@10.68.25.20:move/dufy-tclshop-test-two.git
# git
git push origin master --tags
##
git checkout 16130_20151125_hg
##
git push origin 16130_20151125_hg
2:TortoiseGitクライアントを使用しても関連操作が可能
参考資料:8.2 Gitと他のシステム-Gitへの移行https://git-scm.com/book/zh/v1/Git-%E4%B8%8E%E5%85%B6%E4%BB%96%E7%B3%BB%E7%BB%9F-%E8%BF%81%E7%A7%BB%E5%88%B0-Git
コードライブラリをSVNからGitに移行し、すべてのcommitレコードを保持http://www.lovelucy.info/codebase-from-svn-to-git-migration-keep-commit-history.html
svn gitに移行する全プロセスhttp://www.aikaiyuan.com/6584.html
gitとsvnが踊るhttps://www.chenyudong.com/archives/git-and-svn-collaboration.html
SVNがGitに移行するプロセス(+いくつかのテクニック)http://www.blogjava.net/lishunli/archive/2012/01/15/368562.html