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

22 Коммитов

Автор SHA1 Сообщение Дата
Mike Lundy c4dfa597b8
add /v2 to the module name to resolve the module path problem 2020-04-16 16:30:07 -07:00
kfcampbell 9c9a489b31 Initial commit 2020-03-20 15:11:47 -07:00
Mislav Marohnić 858e97c596 Encapsulate `localRepo.RemoteForProject(project)` function 2018-12-28 03:54:14 +01:00
Mislav Marohnić 6d6d7a60b9 Simplify cherry-picking commits from pull request URLs
Instead of a temporary remote being added, now simply fetch
`refs/pull/<PR-NUM>/head` for the origin remote.

Fixes #1773
2018-06-14 14:47:27 +02:00
Mislav Marohnić 30c3cb4fbe Avoid leaving git remotes after `hub cherry-pick`
With the new approach, create a temporary remote, fetch it, and delete
it immediately. Its git objects will still remain to be available for
cherry-picking.
2016-09-12 04:02:59 +02:00
Mislav Marohnić 86e49b7304 Support PR commit URLs in `cherry-pick`
E.g. `/OWNER/REPO/pull/123/commits/SHA`

Fixes #1249
2016-09-12 03:26:51 +02:00
Mislav Marohnić 328df93ffe Reuse common regexps in `cherry-pick` 2016-09-08 18:22:25 +02:00
Mislav Marohnić fc9fbd4c38 Cross-references galore! 2016-01-25 02:50:01 +11:00
Mislav Marohnić 0a45aa8ddc Reformat inline command help and expand usage options 2016-01-25 02:30:46 +11:00
Keenan Brock 5355655711 rename gh command to hub in docs 2016-01-19 13:31:47 -05:00
Mislav Marohnić ab1c0b7a0f Use `--no-tags` for new remotes in `checkout/cherry-pick`
This is so the tags from the automatically-added remote (typically
someone's fork) don't spill in and mix with the current tags.
2015-05-22 00:04:26 +02:00
Owen Ou 8e340bd0eb Fix exception when having no args for cherry-pick
https://github.com/jingweno/gh/issues/223
2014-10-16 11:55:08 -07:00
Mislav Marohnić 5079ae405a Fix `hub cherry-pick` remote and GitHub notation detection 2014-07-27 18:24:34 -07:00
Jingwen Owen Ou a7badc8c84 Validate git dir when getting local repo 2014-04-01 13:40:02 -07:00
Jingwen Owen Ou 498789a999 Change namespace to github/hub 2014-02-10 08:29:03 -08:00
David Calavera 371ae8b432 Add global commands to the runner.
- Use a hash to lookup for commands.
- Add more tests for the command and runner execution.
2013-12-29 14:18:14 -08:00
Jingwen Owen Ou 9d8749e1a5 Git merge is compatible with Hub spec 2013-12-10 13:42:54 -08:00
Jingwen Owen Ou 5ddd2d45c7 Load multiple configs 2013-12-10 13:42:53 -08:00
Jingwen Owen Ou c4de7b63b9 Fix go vet 2013-07-20 07:41:43 -07:00
Jingwen Owen Ou 2032d4c05a Extract duplication to hasGitRemote 2013-07-19 22:53:38 -07:00
Jingwen Owen Ou e026fa1a83 Implement cherry-pick 2013-07-19 22:46:47 -07:00
Jingwen Owen Ou 57e993bd3b Add cherry-pick stub 2013-07-19 14:26:00 -07:00