I recently used git-svn to clone an SVN repository, for the purposes of maintaining my own branch of an open-source project.
I'm also working with开发者_运维技巧 others on this branch, so we use a shared Git repository to help with the collaboration.
A colleague wishes to fetch new revisions from the original SVN repository. How might he accomplish this? I can simply run "git svn fetch" on my local machine, but seeing that my colleague has cloned from the shared Git repository, his local branch lacks the necessary SVN metadata for fetching.
Thanks!
Open up the .git/config
for the repo on your machine, copy the [svn-remote "name"]
block, and have your colleague insert it in his .git/config
:)
精彩评论