Using git to sync existing file collection?

Posted by chrish on Stack Overflow See other posts from Stack Overflow or by chrish
Published on 2011-01-05T22:49:21Z Indexed on 2011/01/05 22:54 UTC
Read the original article Hit count: 207

Filed under:

I've got a collection of files that formerly lived in a Subversion repo; on my new server I've imported them into a git repo so I could start getting more experience with that.

On several other machines, I've got mostly up-to-date copies of the existing svn repo files.

  • Is there any way to sync to the new git repo, but use these existing files so I don't have to re-transfer all of the data?

  • Is git smart enough that if I do a fetch? or checkout? that it'll notice the files are identical and not re-transfer them?

© Stack Overflow or respective owner

Related posts about git