Commit 61307fd8 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Git remote remove only available in git > 1.7.12

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 66e53e54
...@@ -105,7 +105,7 @@ class GitlabProjects ...@@ -105,7 +105,7 @@ class GitlabProjects
end end
def remove_origin_in_repo 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) pid = Process.spawn(*cmd)
Process.wait(pid) Process.wait(pid)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment