14 releases

new 0.2.5 Apr 13, 2025
0.2.4 Jan 27, 2025
0.2.3 Jul 1, 2024
0.2.1 Jun 28, 2024
0.1.3 Jan 30, 2024

#68 in Caching

Download history 99/week @ 2024-12-27 62/week @ 2025-01-03 105/week @ 2025-01-10 75/week @ 2025-01-17 306/week @ 2025-01-24 269/week @ 2025-01-31 201/week @ 2025-02-07 284/week @ 2025-02-14 321/week @ 2025-02-21 65/week @ 2025-02-28 78/week @ 2025-03-07 101/week @ 2025-03-14 943/week @ 2025-03-21 1687/week @ 2025-03-28 1594/week @ 2025-04-04 898/week @ 2025-04-11

5,148 downloads per month
Used in laze

Apache-2.0

31KB
774 lines

Introduction

git-cache-rs is a git helper that allows caching clones in a central folder so consecutive 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

~17–29MB
~442K SLoC