Skip to content
/ gitgc Public

A small utility for easily cloning github repositories to a pre-configured directory.

License

Notifications You must be signed in to change notification settings

mrahhal/gitgc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitgc

A small utility for easily cloning github repositories to a pre-configured directory.

Install

You need to have go installed first, and then:

go install github.com/mrahhal/gitgc@latest

Usage

gitgc [user]/[repo]

A config file called ".gitgc" in your home directory ("~/.gitgc" on unix, "%USERPROFILE%/.gitgc" on windows) will be used to determine the base directory where repos should be cloned. The ".gitgc" file should contain a single line that represents that directory.

Example ".gitgc" file:

C:\dev\git

If it doesn't exist it will be automatically created on the first run, and will default to "{user home}/git".

About

A small utility for easily cloning github repositories to a pre-configured directory.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages