1

While using svn2git to transfer an svn project to git project, I encountered following problem.

command failed: git checkout -b "1.7.8" "remotes/svn/1.7.8"

1 Answer 1

1

The root cause is that there is an .gitattributes file in the svn repository and the content of that file is

text=auto

after add --exclude ".*gitattributes$" to the svn2git command, the problem is resolved.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.