diff --git a/lib/gitlab/backend/shell.rb b/lib/gitlab/backend/shell.rb
index a779e88d3b859e30fdeafa2ab01b02e6ce85f529..85fa5bda0558ea2855d31729b59ee07beaa4a900 100644
--- a/lib/gitlab/backend/shell.rb
+++ b/lib/gitlab/backend/shell.rb
@@ -13,6 +13,17 @@ module Gitlab
       system("/home/git/gitlab-shell/bin/gitlab-projects add-project #{name}.git")
     end
 
+    # Import repository
+    #
+    # name - project path with namespace
+    #
+    # Ex.
+    #   import_repository("gitlab/gitlab-ci", "https://github.com/randx/six.git")
+    #
+    def import_repository(name, url)
+      system("/home/git/gitlab-shell/bin/gitlab-projects import-project #{name}.git #{url}")
+    end
+
     # Remove repository from file system
     #
     # name - project path with namespace