hansmosh / git-relations

Determine related files based on git history

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

git-relations

Get number of times two files are in the same git commit.

Install

pip install git-relations

Usage

Call with a filename from anywhere within a git repository.

Prints number of times the given file is in the same commit as another file.

$ git relations <filename>
  3  anotherfile.txt
  3  more.txt
  1  some/other/file

About

Determine related files based on git history


Languages

Language:Python 100.0%