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"

James
  • 1,001
  • 2
  • 15
  • 23

1 Answers1

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.

James
  • 1,001
  • 2
  • 15
  • 23