Trong khi làm git svn clone -s https://svn.example.com/repo/
tôi nhận được kết quả như sau:git-svn bản sao bị lỗi "chết người: Không phải là một tên đối tượng hợp lệ"
r3073 = a6132f3a937b632015e66d694250da9f606b8333 (refs/remotes/trunk)
Found possible branch point: https://svn.example.com/repo/trunk => https://svn.example.com/repo/branches/v1.3, 3073
W: Refspec glob conflict (ref: refs/remotes/trunk):
expected path: repo/branches/trunk
real path: repo/trunk
Continuing ahead with repo/trunk
W: Refspec glob conflict (ref: refs/remotes/trunk):
expected path: repo/branches/trunk
real path: repo/trunk
Continuing ahead with repo/trunk
W: Refspec glob conflict (ref: refs/remotes/trunk):
expected path: repo/branches/trunk
real path: repo/trunk
Continuing ahead with repo/trunk
W: Refspec glob conflict (ref: refs/remotes/trunk):
expected path: repo/branches/trunk
real path: repo/trunk
Continuing ahead with repo/trunk
fatal: Not a valid object name refs/remotes/tags/Sync Controllers
cat-file commit refs/remotes/tags/Sync Controllers: command returned error: 128
Chạy git branch -a
cho:
remotes/tags/Sync%20Controllers
remotes/tags/v1.1
remotes/trunk
remotes/v1.2
Tôi nghĩ vấn đề là "bộ điều khiển/thẻ/Bộ điều khiển đồng bộ hóa"! = "điều khiển từ xa/thẻ/Đồng bộ hóa% 20 Bộ điều khiển".
Xem thêm: https://bugs.launchpad.net/ubuntu/+source/git/+bug/786942 – kenorb
Related: http://stackoverflow.com/questions/7584605/git-svn-dcommit- không-vì-kho-tên-chứa-một-không gian Có bản vá có sẵn ở đó. – kenorb