提交 c05272dd 编写于 作者: M Mislav Marohnić

Temporary switch to `gh.protocol/gh.host` git config

We should come back to supporting the old hub-prefixed config options, though.
上级 9a7d6fad
require 'fileutils'
Given(/^HTTPS is preferred$/) do
run_silent %(git config --global hub.protocol https)
run_silent %(git config --global gh.protocol https)
end
Given(/^there are no remotes$/) do
......@@ -9,7 +9,7 @@ Given(/^there are no remotes$/) do
end
Given(/^"([^"]*)" is a whitelisted Enterprise host$/) do |host|
run_silent %(git config --global --add hub.host "#{host}")
run_silent %(git config --global --add gh.host "#{host}")
end
Given(/^git "(.+?)" is set to "(.+?)"$/) do |key, value|
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册