bitcar: Cheat Sheet

Published: April 19, 2020

Learn essential commands for managing GitHub repositories from the command line with this quick reference guide. Perfect for developers working across multiple codebases!

Bitcar is a command-line tool designed to help developers manage multiple Git repositories efficiently. It allows for quick navigation between repos, opening them in browsers or editors, and performing various Git-related tasks from the command line.

Install

npm -i -g bitcar

Search

Searches current cache for repo, clones if not already cloned, and then chage directory to repo:

bit SEARCH_TERM

Refresh Cache

Reads repos available from your accout on GitHUb, including any repos from organizations and stores basic metadata about rh repo to support search, clone, and open repo in browser.

bit -r

Clone All

Clone any repos found in your cache. Optionally only clone repos matching search term:

bit --clone-all SEARCH_TERM

Sync Existing

Include local repos not in GitHub in the cache to support use of bitcar commands. NOTE: This config is wiped out when cache is refreshed and will need to be run again.

bit --sync-existing