summaryrefslogtreecommitdiff
path: root/lib/gitlab_projects.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-12 16:20:39 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-12 16:20:39 +0000
commit4f3f3beebad2d3c1a1ee6b657d40d7c93d5bc1b6 (patch)
tree6f96e52365f963b2b894e2f3ec1baa8665e9027a /lib/gitlab_projects.rb
parent00e30138af0ebec24255d08c5166cfd1faa28f6d (diff)
parent61307fd850e1c52d4761d3a193e3abaedc4f55f8 (diff)
downloadgitlab-shell-4f3f3beebad2d3c1a1ee6b657d40d7c93d5bc1b6.tar.gz
Merge branch 'defaults' into 'master'
Redis defaults See merge request !42
Diffstat (limited to 'lib/gitlab_projects.rb')
-rw-r--r--lib/gitlab_projects.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_projects.rb b/lib/gitlab_projects.rb
index 85eb167..d6922c6 100644
--- a/lib/gitlab_projects.rb
+++ b/lib/gitlab_projects.rb
@@ -105,7 +105,7 @@ class GitlabProjects
end
def remove_origin_in_repo
- cmd = %W(git --git-dir=#{full_path} remote remove origin)
+ cmd = %W(git --git-dir=#{full_path} remote rm origin)
pid = Process.spawn(*cmd)
Process.wait(pid)
end