Skip to content

Finds a file in all revisions of commit tree in git

Notifications You must be signed in to change notification settings

dneiss/findFile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

This is a Python program to find a specific file in all version of a git repository. This should find all matching files (for instance, if filename changed but contents are same) and in _any_ path in the repo.

Invoke as follows:

findFile.py repoPath filePath

Uses the gitPython module. To install that "sudo pip install gitpython --upgrade"


It does this by doing a rev-list from HEAD (could change this to an --all or specific refs) searching for the file SHA. 

About

Finds a file in all revisions of commit tree in git

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages