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.
|
3 months ago | |
---|---|---|
.gitignore | 3 months ago | |
.woodpecker.yml | 3 months ago | |
LICENSE | 3 months ago | |
README.md | 3 months ago | |
go.mod | 3 months ago | |
go.sum | 3 months ago | |
main.go | 3 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)