Brovoker
Brovoker

Reputation: 896

Svn working copy to git working copy

I recently converted our SVN repositories to GIT repositories.

Now we want to link our working copies to our git remote repositories.

Do we need to delete our working copies and git clone our repositories?
This would be inconvinient because we would lose uncommitted changes.

Upvotes: 0

Views: 115

Answers (1)

Mykola Gurov
Mykola Gurov

Reputation: 8695

For any uncommitted change at the svn working directory, you have two options:

  1. copy changed files over to a git working directory and treat as normal git change.

  2. create a new svn "wip" branch for every remaining change, commit changes from working directory there. Sync those changes into git. Checkout those wip branches at git working directories.

Upvotes: 2

Related Questions