2012-02-29 31 views
6

Tôi nhận được lỗi sau khi chạy lệnh git svn rebase: 'update-index --refresh: lệnh trả về lỗi: 1'lỗi rebit git-svn

Bất kỳ ý tưởng nào? Dưới đây là toàn bộ đầu ra.

$ git svn rebase --dry-run 
xxx-iphone/xxx_prototype2/xxx_prototype2.xcodeproj/project.pbxproj: needs update 
xxx-iphone/xxx_prototype2/xxx_prototype2.xcodeproj/project.xcworkspace/xcuserdata/xxx.xcuserdatad/UserInterfaceState.xcuserstate: needs update 
xxx-iphone/xxx/xxx_prototype2/CouponBookViewController.h: needs update 
xxx-iphone/xxx_prototype2/xxx_prototype2/CouponBookViewController.m: needs update 
xxx-iphone/xxx_prototype2/xxx_prototype2/EmailListViewController.m: needs update 
xxx-iphone/xxx_prototype2/xxx_prototype2/HomeViewController.h: needs update 
xxx-iphone/xxx_prototype2/xxx_prototype2/ParentCategoryTableViewCell.xib: needs update 
xxx-rails/.rvmrc: needs update 
xxx-rails/Gemfile: needs update 
xxx-rails/app/controllers/admin_page/categories_controller.rb: needs update 
xxx-rails/app/controllers/application_controller.rb: needs update 
xxx-rails/app/controllers/categories_controller.rb: needs update 
xxx-rails/app/controllers/service_provider_profiles_controller.rb: needs update 
xxx-rails/app/models/category.rb: needs update 
xxx-rails/app/models/like.rb: needs update 
xxx-rails/app/models/service_provider_profile.rb: needs update 
xxx-rails/config/application.rb: needs update 
xxx-rails/db/development.sqlite3: needs update 
update-index --refresh: command returned error: 1 
+0

Không bao giờ, đã tìm ra. Tôi cần thêm các tập tin cập nhật (git add -u) và cam kết trước khi chạy 'git svn rebase'. – Samsinite

Trả lời

7

Thêm tệp đã cập nhật (git add -u) và cam kết trước khi chạy git svn rebase.