Skip to content

Latest commit

 

History

243 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crates.io Version Crates.io Downloads

About

git-conform is a simple CLI tool that helps you to keep track of the repositories on your local machine and their remote counterparts. It works by scanning your home directory with gitcf scan --all (or just the ones you specified) in search for git repositories, and then storing their paths in the tracking file located at ~/.local/share/gitcf. By typing gitcf 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

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

  • gitcf 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

  • gitcf list - prints the list of tracked repositories
    • -i, --ignored - print the list of ignored repositories instead

  • gitcf add - adds specified repositories for tracking

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

  • gitcf ignore - blacklists specified repositories from being added for tracking by the scan command

  • gitcf notice - removes specified repositories from the blacklist
    • -a, --all - remove all repositories from the blacklist

  • gitcf 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 gitcf help or gitcf -h to get more details. Also, you can get more comprehensive info about specific subcommand like this: gitcf help <subcommand>.