Sponsor:

Your company here ā€” click to reach over 10,000 unique daily visitors

git-get - Man Page

Clone a Git repository under a directory

Synopsis

git-get

Description

Clones a Git repository under the directory specified by the Git configuration git-extras.get.clone-path

Examples

$ git config --add git-extras.get.clone-path "$HOME/some-dir"
$ git get 'https://github.com/hyperupcall/bake'
Cloning into '/home/<user>/some-dir/bake'...
remote: Enumerating objects: 1199, done.
remote: Counting objects: 100% (378/378), done.
remote: Compressing objects: 100% (174/174), done.
remote: Total 1199 (delta 163), reused 357 (delta 146), pack-reused 821
Receiving objects: 100% (1199/1199), 3.05 MiB | 9.85 MiB/s, done.
Resolving deltas: 100% (515/515), done.
$

Author

Written by Edwin Kofler <edwin@kofler.dev>

Reporting Bugs

<https://github.com/tj/git-extras/issues>

See Also

<https://github.com/tj/git-extras>

Referenced By

git-extras(1).

May 2023 Git Extras