瀏覽代碼

git-svn: add page

Joel Huang 9 年之前
父節點
當前提交
0c8ec98b75
共有 1 個文件被更改,包括 15 次插入0 次删除
  1. 15 0
      pages/common/git-svn.md

+ 15 - 0
pages/common/git-svn.md

@@ -0,0 +1,15 @@
+# git svn
+
+> Bidirectional operation between a Subversion repository and Git
+
+- clone an SVN repository
+
+`git svn clone {{http://example.com/my_subversion_repo}} {{local_dir}}`
+
+- update local clone from the upstream SVN repository
+
+`git svn rebase`
+
+- commit back to SVN repository
+
+`git svn dcommit`