Skip to main content

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)

Source distribution for git-smart-clone 1.0.0
File Size Uploaded
git_smart_clone-1.0.0.tar.gz 18.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for git-smart-clone 1.0.0
File Interpreter ABI Platform
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}

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page