Skip to content
No description, website, or topics provided.
Go Shell
Branch: master
Clone or download
khw7096 Merge pull request #21 from baesy0/iss16
add introduction easy to understand
Latest commit 1cb7d49 Nov 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore add build script Nov 9, 2019
.travis.yml add travis setting Nov 5, 2019
LICENSE 대명사로 고침 Nov 9, 2019
README.md Merge pull request #21 from baesy0/iss16 Nov 16, 2019
build.sh add build script Nov 9, 2019
go.mod
main.go fix crash when no argument provided Nov 9, 2019

README.md

Keep

travisCI

Keep organize your code!

Keep helps collaboration on Git hosts by setting upstream automatically.

Keep downloads any source code into your $KEEPPATH.

It's inspired by $GOPATH. And you can also set $KEEPPATH to $GOPATH/src.

Setup Environment

Keep needs an environment that is independant of host.

KEEPPATH # where Keep will use as root for it's cloned repositories.

If $KEEPPATH is not set, $HOME/src will be used by default.

Keep also needs to be set host specific Environments.

Usage

If you download a github repo, do following. (Replace org and repo)

$ keep github.com/:org/:repo

If you want to fork and download the forked repo instead, do following.

$ keep -fork github.com/:org/:repo

Note that the only supported host is Github by now.

Github

Environment

You need to set these environment variables to create fork or access private repo.

KEEP_GITHUB_USER # your github id
KEEP_GITHUB_AUTH # your github authentication token

Create an Authentication token

Login into your account.

Goto Setting > Developer Settings > Personal access token

Select Generate new token. Turn on the repo checkbox. When you generate the token, you should see your token value.

Save it in your KEEP_GITHUB_AUTH environment variable.

You can’t perform that action at this time.