You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kaspar Schleiser 17b35f6ece dist: tools: git-cache: bump version 6 years ago
.. dist: tools: git-cache: update README 6 years ago
git-cache dist: tools: git-cache: bump version 6 years ago


This directory contains some git tools used by RIOT's build system


Simple git caching script, from If git-cache has not been initialized, it will fall back to do checkouts from the remote repository. Otherwise it will transparently cache repositories in it's cache folder, ideally not touching the network if a requested commit / tag can be cloned from the cache.

In order to set up the cache, do:

  • install the git-cache binary into path. This will make the script available as "git cache ...". Alternatively, directly execute it.
  • run "git cache init" (or "dist/tools/git/git-cache init", which initializes a git cache in ${HOME}/.gitcache. The used path can be overridden using the "GIT_CACHE_DIR" environment variable. The cache repository will be used to cache multiple remote repositories.