Граф коммитов

7 Коммитов

Автор SHA1 Сообщение Дата
Mislav Marohnić de380c0e49 Fix tests broken by `hub remote add` changes
`remote add` may now query the GitHub API to determine whether the
remote URL should be generated in writeable mode or not.
2018-10-31 02:21:57 +01:00
Mislav Marohnić 64e5fe6cbf Support `remote add -t BRANCH` argument 2018-06-26 17:24:33 +02:00
Mislav Marohnić 7633e5b182 Fix GHE host prompts for `hub remote` commands
Now `hub remote` will only prompt to select from your configured hosts
if it can't infer the GitHub hostname from existing remotes.

In case you're prompted, and you choose a GHE host, now that choice will
be properly reflected in the generated URL, unlike before when it would
always revert to "github.com" regardless of choice.

Fixes #1141
2016-08-11 23:34:17 +02:00
Pascal Corpet becb9ad00c Add test for root dir name in combination with `-C` flag 2016-02-28 19:25:49 +09:00
Mislav Marohnić 00b846af46 Backport cukes from 1.12-stable branch 2014-12-24 20:20:28 -08:00
Mislav Marohnić 501dbba80f add scenario for `remote set-url` functionality 2012-05-07 20:41:08 +02:00
Mislav Marohnić 501e20b8d7 rewrite `clone`, `remote add`, `submodule add` tests as cukes 2012-05-04 20:13:54 +02:00