ggit

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2021 License: MIT Imports: 10 Imported by: 0

README

ggit

有go环境

Linux和MacOS下使用

克隆该代码,并 bash 执行 install.sh,他会自动编译为可执行文件并注册到全局使用。

安装:

bash install.sh

然后就可以使用 ggit clone https://github.com/xxx/xxx.git

windows下使用

克隆该代码,并编译为windows可执行文件,编译命令:

CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o ggit.exe main.go

没有go环境

那么这里有现成编译好的文件,下载地址

  • windows/amd64
  • linux/amd64
  • darwin/amd64

将对应的可执行文件放入全局变量。

使用方式:

[可执行文件路径] clone https://github.com/xxx/xxx.git

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL