find files and commits in multiple repos, stashes, dangling commits.
Project description
Overview
This tool is meant to search many different repositories, looking for information contained inside of git databases.
Git is great at storing files and revisions, however there are many ways to lose track of changes made over time. It is not a simple task to search for data inside of git. Many folks have created shell scripts and one-line command line tools to search out changes that were lost or simply need to be found. These are all great, but they tend to be purpose built, and not usable by others.
This project attemts to consolidate several techniques for seeking out changes in one or more repositories at the same time.
Details
This tool will search the current repo, or many repos, for text in files, commit messages, authors or commit messages. The tool uses a standard python conditional to qualify the search using these variables:
message - full contents of message converted to lower case author - author converted to lower case email - author's email address converted to lower case files - list of files in the commit
Usage
Example of search in current directroy gitgrind -f "('myname' in author or 'myname' in email) and 'mydir/myfile.cpp' in files"
This will find any commits (dangling, in stash, or normal commits) and show the commit information
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gitgrind-0.2.0.tar.gz.
File metadata
- Download URL: gitgrind-0.2.0.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2c157a98f4f4237a188b0ba2a58a25267d6fd925584f5d64aa1daa9dac10c15
|
|
| MD5 |
4c62b8d7cff6b609ffb8bd8cf098d140
|
|
| BLAKE2b-256 |
4ac1e54b5e0b6a618cd1c3bfa0d2db5a190ff17040cd0ade422006c4cbcae082
|
File details
Details for the file gitgrind-0.2.0-py3-none-any.whl.
File metadata
- Download URL: gitgrind-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8fe8eab6cf696ddaf0a24c817f74cb4726d25d4bf34c123321da989d398ca549
|
|
| MD5 |
7ce96e2f70206c1969ec0fd6f3d4b11b
|
|
| BLAKE2b-256 |
231ab8419afa7ab3668b3f8e19f03b22236f1dc61d2db8bd8521c18ce14eba10
|