hub/commands/apply.go

24 строки
630 B
Go
Исходник Обычный вид История

2013-07-11 22:23:59 +04:00
package commands
import (
//"fmt"
//"github.com/jingweno/gh/utils"
//"github.com/jingweno/octokat"
)
var cmdApply = &Command{
Run: apply,
GitExtension: true,
Usage: "apply GITHUB-URL",
Short: "Apply a patch to files and/or to the index",
Long: `Downloads the patch file for the pull request or commit at the URL and
applies that patch from disk with git am or git apply. Similar to
cherry-pick, but doesn't add new remotes. git am creates commits while
preserving authorship info while <code>apply</code> only applies the
patch to the working copy.
`,
}
func apply(command *Command, args *Args) {
}