diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab_projects.rb | 2 |
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 |