git-smart-clone
A simple git extension that clones a git directory to sub folder based on the git url.
Installation
To install use pipx:
pipx install git-smart-clone
Usage
By default this will clone a git repo into your ~/src directory in the format hostname/owner/repo name. This can be overridden with the environmental variable: GIT_SMART_CLONE_BASE_PATH.
So this command
git smart-clone https://github.com/sam-phinizy/git-smart-clone
would clone this repo to this location on your computer:
~/src/github.com/sam-phinizy/git-smart-clone.
Note: Any flags passed to the command will be passed through to git.
License
MIT LICENSE
Metadata
Release files for git-smart-clone 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| git_smart_clone-1.0.0.tar.gz | 18.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| git_smart_clone-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.0 kB
Release files / git_smart_clone-1.0.0.tar.gz
| Download URL | git_smart_clone-1.0.0.tar.gz |
|---|---|
| Size | 18.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cbd5cef95b5b10c8481d1362de45aeff1dc1be5a9682c51e8be62518923542b4
|
|
BLAKE2b-256 checksum How to use checksums |
0e5cf5fd772518f2aec22e3659d2235514133fb82e796dae1784c9e29779df63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / git_smart_clone-1.0.0-py3-none-any.whl
| Download URL | git_smart_clone-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0a85e79aabb2ab353c488c1a61226e7c2b19c51d9c09a8577e81c8d5750b8d0a
|
|
BLAKE2b-256 checksum How to use checksums |
35adc0d66db8c504bbae879cad1ce46c785fb5a29f09028168011827a42dcdbc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|