Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fhs/gig
Git command implemented in pure Go
https://github.com/fhs/gig
command-line-tool git golang plan9
Last synced: about 1 month ago
JSON representation
Git command implemented in pure Go
- Host: GitHub
- URL: https://github.com/fhs/gig
- Owner: fhs
- License: mit
- Created: 2019-12-25T23:31:04.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-08-01T00:18:08.000Z (over 1 year ago)
- Last Synced: 2024-06-19T06:54:24.512Z (6 months ago)
- Topics: command-line-tool, git, golang, plan9
- Language: Go
- Homepage:
- Size: 257 KB
- Stars: 11
- Watchers: 3
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gig
Gig is a git client written in pure Go (using
[go-git](https://github.com/go-git/go-git)). The main motivation was to
create a git client for platforms that are not supported by the official
git client (mainly Plan 9). Gig tries to be compatible with git CLI,
so anyone familiar with the official git client will already know how
to use gig.## Install
```
GO111MODULE=on go get github.com/fhs/gig/cmd/git-upload-pack
GO111MODULE=on go get github.com/fhs/gig/cmd/git-receive-pack
GO111MODULE=on go get github.com/fhs/gig/cmd/gig
```## Testing on Plan 9
To run tests on Plan 9, you need to run this first:
```
go mod edit -replace 'github.com/rogpeppe/[email protected]=github.com/fhs/[email protected]'
```
This is due to https://github.com/rogpeppe/go-internal/pull/115.## See also
* https://github.com/oridb/git9
* https://github.com/driusan/dgit
* [Wrapping Git in rc shell](https://blog.gopheracademy.com/advent-2014/wrapping-git/)
* [Git port to 9legacy by Kyohei Kadota](https://9fans.topicbox.com/groups/9fans/Te3752ec266e3a002-M7286f7236d8aab10096f7946/9fans-git-client)