cli/pkg/cmd/repo
Mislav Marohnić 1260023547 repo sync: Use the new merge-upstream API if available
This helps avoid the errors when a new commit from upstream is not yet
available in the fork, resulting in a HTTP 404 when trying to update the
ref in the fork.

If the merge-upstream API is unavailable (404) or errors out (409/422),
the functionality falls back to the previous functionality of manually
updating refs. This ensures that `--force` still has effect.
2021-12-21 16:44:27 +01:00
..
archive Merge pull request #4750 from cli/replace-shurcool 2021-11-18 09:10:06 -08:00
clone Add FlagErrorf; encapsulate FlagError.error 2021-10-21 11:40:20 -04:00
create 💅 normalize prompt style for text inputs 2021-12-14 18:38:46 +01:00
credits Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
delete implement samcoe's suggestions 2021-11-10 17:10:37 -08:00
edit repo edit: add ability to add or remove repository topics 2021-12-07 19:28:29 +01:00
fork Add FlagErrorf; encapsulate FlagError.error 2021-10-21 11:40:20 -04:00
garden Consistently respect GH_HOST in repo archive/create/garden/view commands 2021-10-18 20:05:53 +02:00
list Add FlagErrorf; encapsulate FlagError.error 2021-10-21 11:40:20 -04:00
rename @mislav changes requested 2021-11-03 12:18:44 -04:00
sync repo sync: Use the new merge-upstream API if available 2021-12-21 16:44:27 +01:00
view Consistently respect GH_HOST in repo archive/create/garden/view commands 2021-10-18 20:05:53 +02:00
repo.go gh repo edit 2021-12-07 19:28:29 +01:00