You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
11 months ago | |
---|---|---|
.gitignore | 11 months ago | |
.woodpecker.yml | 11 months ago | |
LICENSE | 11 months ago | |
README.md | 11 months ago | |
go.mod | 11 months ago | |
go.sum | 11 months ago | |
main.go | 11 months ago |
README.md
clone
Clone projects into a common GOPATH-like structure.
Uses the base path (in order of preference):
$(CLONE_DIR)
$(UserHomeDir)/code
clone git.jojodev.com/jolheiser/clone.git
by default, on a Linux machine, would clone to /home/<user>/code/git.jojodev.com/jolheiser/clone
To cd
into a newly cloned (or initialized) project:
cd $(clone --last)