premier-commit
v1.0.0
Published
Finds the date of the very first commit of a Git repository (local or remote).
Maintainers
Readme
premier-commit
A simple and fast command-line interface (CLI) utility to find the date of the very first (oldest) commit of a Git repository, analyzing all branches.
Features
- Works with local paths or remote URLs (HTTPS, SSH).
- Analyzes all branches to find the true first commit.
- Uses optimized cloning (
--bare --filter=blob:none) for remote repositories to be as fast as possible. - Requires no global installation when used with
npx.
Usage
You can run the tool directly via npx without installing it:
npx premier-commit <url-or-path-git-repo>Examples
With a remote URL (GitHub, GitLab, etc.):
npx premier-commit https://github.com/facebook/react.gitWith a local path:
npx premier-commit ./my-local-projectPrerequisites
License
MIT
