474 B
474 B
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)