How to import an existing bare git repository into Gitlab?
问题 I import my bare git repository into Gitlab as described as here , because it was not recognized as an git repository, but creates a 94K big 'empty' repo (the original is 2,8GB big): $ bundle exec rake gitlab:import:repos RAILS_ENV=production fatal: Not a git repository (or any of the parent directories): .git Processing test.git INFO: Sidekiq client using redis://localhost:6379 with options:namespace=>"resque:gitlab"} * Created test (test.git) Done! As a workaround I replace the empty