Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/williamchanrico/go-get-ssh
Wrapper for "go get -v -u" using ssh git clone. Useful if you setup github 2FA and don't want to deal with global git config to make "go get" works.
https://github.com/williamchanrico/go-get-ssh
2fa-security bash-script git go
Last synced: 29 days ago
JSON representation
Wrapper for "go get -v -u" using ssh git clone. Useful if you setup github 2FA and don't want to deal with global git config to make "go get" works.
- Host: GitHub
- URL: https://github.com/williamchanrico/go-get-ssh
- Owner: williamchanrico
- Created: 2018-08-07T06:03:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-12T08:31:55.000Z (over 6 years ago)
- Last Synced: 2024-08-03T23:28:37.429Z (4 months ago)
- Topics: 2fa-security, bash-script, git, go
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-golang-repositories - go-get-ssh - v -u" using ssh git clone. Useful if you setup github 2FA and don't want to deal with global git config to make "go get" works. (Repositories)
README
# go-get-ssh
Wrapper for "go get -v -u" using ssh git clone## What it does
- The script will `git clone` (using your configured `ssh` credential) the repository into your workspace with the correct `go` structure (`$GOPATH/src/domain.com/repo_owner/repo_name/`).
- And it will run `go get -u -v` in the cloned repository.
- Done. It does everything you need to start building/developing that repo in one command.## Usage
```
$ go-get-ssh
usage: go-get-ssh IMPORT_PATH
example:
go-get-ssh github.com/tokopedia/gosampleWill be imported to:
$GOPATH/src/github.com/tokopedia/gosample
```