Skip to content

j3dr/git-conform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

183 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crates.io Version Crates.io Downloads

About

git-conform is a simple git extension that helps you to keep track of the repositories on your local machine and their remote counterparts. It works by scanning your home directory (or just the ones you specified) in search for git repositories, and then storing their paths in the tracking file located at ~/.local/share/git-conform. By typing git conform check --all you can see useful information about all the repositories on your machine at once such as uncommitted changes or unsynced commits between local and remote branches.

Installation

Through cargo

cargo install git-conform

Using the setup shell script

Important

Before continuing, make sure you have wget and curl installed on your system

bash <(curl -sSL https://raw.githubusercontent.com/j3dr/git-conform/main/setup.sh)

Available commands and options

  • git conform scan - searches for untracked repositories and automatically adds them for tracking
    • -a, --all - scan all directories in your /home
    • --hidden - allow scanning hidden directories
    • -q, --quiet - suppress information messages

  • git conform list - prints the list of tracked repositories

  • git conform add - adds specified repositories for tracking

  • git conform rm - removes specified repositories from tracking
    • -a, --all - remove all repositories from tracking

  • git conform check - inspects specified repositories
    • -a, --all - inspect all tracked repositories
    • -s, --status - print only the output of git status -s
    • -r, --remotes - print only the differences between local repositories and their remotes

Type git conform help or git conform -h to get more details. Also, you can get more comprehensive info about specific subcommand like this: git conform help <subcommand>.