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