Dolly clones repositories with scientific precision. Handy if you want to keep your source tree pristine.
Before:
user@host:~/ $ mkdir -p ~/src/scm.com
user@host:~/ $ git clone https://scm.com/repo.git ~/src/scm.com/repo
Cloning into '/home/user/src/scm.com/repo'...After:
user@host:~/ $ git dolly https://scm.com/repo.git
Cloning into '/home/user/src/scm.com/repo'...- π Keep your source tree tidy
- π¦ Clone with a single command
- π± Supports Git and Mercurial (hg)
- π Compatible with Go and GOPATH
- Git
- Python >= 3.6
Classic clone:
$ git clone https://github.com/op/dolly
$ install dolly/dolly /usr/local/bingit:
# create symlink in PATH (or GIT_EXEC_PATH)
$ ln -s /usr/local/bin/{,git-}dollyMercurial (hg):
# add to ~/.hgrc or eg XDG_CONFIG_HOME, see hg help config
cat <<EOF >> $XDG_CONFIG_HOME/hg/hgrc
[alias]
dolly = !/usr/local/bin/dolly $@
EOFNo sheep was harmed while making this tool. Dolly, rest in peace!