2 Star 0 Fork 7

hequan / go-git

forked from Gitee 极速下载 / go-git 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
repository_windows_test.go 267 Bytes
一键复制 编辑 原始数据 按行查看 历史
Ori Rawlings 提交于 2017-08-23 21:37 . Add sideband support for push
package git
import "fmt"
// preReceiveHook returns the bytes of a pre-receive hook script
// that prints m before exiting successfully
func preReceiveHook(m string) []byte {
return []byte(fmt.Sprintf("#!C:/Program\\ Files/Git/usr/bin/sh.exe\nprintf '%s'\n", m))
}
Go
1
https://gitee.com/hequan2020/go-git.git
git@gitee.com:hequan2020/go-git.git
hequan2020
go-git
go-git
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891