15 releases

0.2.6 Oct 20, 2025
0.2.5 Apr 13, 2025
0.2.4 Jan 27, 2025
0.2.3 Jul 1, 2024
0.1.3 Jan 30, 2024

#171 in Caching

Download history 68/week @ 2025-08-13 72/week @ 2025-08-20 75/week @ 2025-08-27 127/week @ 2025-09-03 63/week @ 2025-09-10 77/week @ 2025-09-17 62/week @ 2025-09-24 62/week @ 2025-10-01 72/week @ 2025-10-08 401/week @ 2025-10-15 282/week @ 2025-10-22 187/week @ 2025-10-29 83/week @ 2025-11-05 72/week @ 2025-11-12 73/week @ 2025-11-19 74/week @ 2025-11-26

329 downloads per month
Used in laze

Apache-2.0

40KB
1K SLoC

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

~18–32MB
~454K SLoC