How do I keep an svn:external up to date using git-svn?

后端 未结 8 2202
广开言路
广开言路 2020-12-02 06:44

Treating my repository as a SVN repo, I get:

svn co http://myrepo/foo/trunk foo
...
foo/
  bar/
  baz/ -> http://myrepo/baz/trunk

Treati

8条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-02 07:09

    The best means of integrating svn externals with git-svn that I've seen is this script, which clones your externals into a .git_externals/ directory and creates the symlinks and exclude files you need. I find this a simple and direct solution. YMMV.

    Here is an older overview of other options for dealing with svn externals with git-svn. To me they look a little over-complicated and liable to break under subsequent Git use.

提交回复
热议问题