6 releases

0.1.5 Feb 6, 2024
0.1.4 Feb 2, 2024
0.1.3 Jan 30, 2024

#50 in Caching

Download history 3/week @ 2024-01-28 3/week @ 2024-02-04 1/week @ 2024-02-18 18/week @ 2024-02-25 54/week @ 2024-03-31

54 downloads per month

Apache-2.0

20KB
464 lines

Introduction

git-cache-rs is a git helper that allows caching clones in a central folder so consequtive clones become faster.

It works by first cloning into a cache folder (~/.gitcache by default), then cloning locally out from there. The next time the same repository is cloned, it will be cloned from the cache.

Installation

cargo install git-cache

How to use

Just use git cache clone <clone options> instead of git clone <clone options>. Add -U if you'd like the cached version to update from the original repository before cloning (not needed for the first clone).

License

git-cache-rs is licensed under the terms of the Apache License (Version 2.0).

Dependencies

~5–16MB
~217K SLoC