Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mecaneer23/get-commit-links
Tool to fetch public links to most recent git commits
https://github.com/mecaneer23/get-commit-links
Last synced: about 2 months ago
JSON representation
Tool to fetch public links to most recent git commits
- Host: GitHub
- URL: https://github.com/mecaneer23/get-commit-links
- Owner: mecaneer23
- License: mit
- Created: 2024-06-25T19:35:37.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-08-21T17:02:00.000Z (4 months ago)
- Last Synced: 2024-08-21T19:10:42.710Z (4 months ago)
- Language: JavaScript
- Homepage: http://mecaneer23.net/get-commit-links/
- Size: 101 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Get Commit Links
Fetch public links to most recent git commits locally
![Screenshot](GetCommitLinks.png)
## Usage
Run in a terminal in the same directory as your git repository. By default, get commits from the last two hours.
## Options
If running with Python, optionally specify an amount of commits to fetch.
Example: fetching the 3 most recent commits in the current working directory
```bash
python3 get_url.py 3
```Specify a negative number to fetch commits since `-n` hours ago
```bash
# getting commits from the last 2 hours
python3 get_url.py# getting commits from the last 5 hours
python3 get_url.py -5
```