try
This commit is contained in:
parent
ba5c37ea25
commit
6b700ebd45
|
@ -13,7 +13,7 @@ git_url = %x[cd '#{ENV['PWD']}' && git config --get remote.origin.url].sub("\n",
|
||||||
git_remote = %x[cd '#{ENV['PWD']}' && git remote].sub("\n",'')
|
git_remote = %x[cd '#{ENV['PWD']}' && git remote].sub("\n",'')
|
||||||
puts ['git_url',git_url]
|
puts ['git_url',git_url]
|
||||||
puts ['git_remote',git_remote]
|
puts ['git_remote',git_remote]
|
||||||
if get_url != 'https://ruling.digital/git'
|
if git_url != 'https://ruling.digital/git'
|
||||||
system("cd #{ENV['PWD']} && git remote set-url #{git_remote} https://ruling.digital/git")
|
system("cd #{ENV['PWD']} && git remote set-url #{git_remote} https://ruling.digital/git")
|
||||||
end
|
end
|
||||||
all_template.each do |folder|
|
all_template.each do |folder|
|
||||||
|
|
Loading…
Reference in New Issue