A synthetic git data generator creates source-control sample data for branches, commit dates, commit log entries, commit messages and commit SHAs. It gives developer-tool teams repeatable Git-shaped data without copying real repository history into demos, parser fixtures or lower-control test environments.Documentation Index
Fetch the complete documentation index at: https://docs.spotzee.com/llms.txt
Use this file to discover all available pages before exploring further.
Generate sample git data at
spotzee.com/tools/git-generator.
Why this matters
Repository dashboards, changelog previews, CI parsers and import tools all need values that behave like Git history. Real repository logs don’t belong in support screenshots, fixture files or public demos. Git fields also expose small parser and UI issues. Commit entries include line endings and author blocks. SHA values may need shorter display variants. Branch names wrap. But hand-written sample logs get stale fast. Generated values are test fixtures only. They do not prove real commits, branches, authors or repository activity. Each Extended API call deducts a small per-call amount from your Spotzee credit balance. See the Spotzee pricing page for live per-tool pricing.How it works
Send the request
POST to
/generic/data/generate/git with count. The count is a string
from 1 to 100.Choose a method
Use
method=profile for expanded git records, or choose one field method:
branch, commitDate, commitEntry, commitMessage or commitSha.Set git options
Send
locale where supported, an optional numeric seed for repeatable
fixtures, refDate for date-aware output, eol for commit-entry line
endings, merge for merge-line output and commitShaLength for SHA length.Method reference
| Method | Output | Main parameters |
|---|---|---|
profile | Expanded source-control record | count, locale, seed, eol, merge, commitShaLength |
branch | Branch-name fixture | count, locale, seed |
commitDate | Commit date fixture | count, locale, seed, refDate |
commitEntry | Commit log-entry fixture | count, locale, seed, refDate, eol, merge |
commitMessage | Commit-message fixture | count, locale, seed |
commitSha | Commit SHA fixture | count, locale, seed, commitShaLength |
profile when you need fuller git test data. Use a field method when your form, table, parser or import job only needs one value type.
What to watch for
- Count outside
1to100. One request generates up to 100 git records. For more rows, call the endpoint again and vary the seed when you need a different batch. - Wrong method for the fixture. Use
profilefor branch, date, entry, message and SHA fields together, or a field method for one value type. - Invalid reference date.
refDatemust be an ISO 8601 date-time with a time-zone offset, such as2024-01-15T12:00:00.000Z, or left blank. - Invalid SHA length.
commitShaLengthmust be a positive whole number from1to40. - Unexpected line endings. Use
eol=LFfor Unix-style fixture text oreol=CRLFwhen Windows-style commit-entry output is needed. - Assuming real history. Generated git values are synthetic sample data. Do not treat them as evidence of real repository activity.
FAQs
What can a git data generator return?
What can a git data generator return?
A synthetic git data generator can return
git[] records with method and
value fields. Profile output can also include branch, commitDate,
commitDateIso, commitEntry, commitMessage, commitSha and
commitShaLength fields. The exact fields depend on the selected method.Can I use this as a random commit generator?
Can I use this as a random commit generator?
Yes. Choose
commitEntry when you need a full log-entry fixture, or
commitMessage when you only need message-shaped text. Use a numeric seed
when the same random commit generator output must repeat in tests.Can I reproduce git data generator output?
Can I reproduce git data generator output?
Yes. Set a numeric seed to reproduce output for the same count, locale,
method and option values. Leave the seed blank when you want a fresh random
batch for exploratory testing.
Can I use this as a commit SHA generator?
Can I use this as a commit SHA generator?
Choose
commitSha when you need SHA-only fixture values, then set
commitShaLength from 1 to 40. Choose profile when you want commit
SHAs alongside branches, dates, entries and messages.Can I use it as a git branch name generator?
Can I use it as a git branch name generator?
Yes. Use
method=branch when you need branch-name fixtures for forms,
filters, tables or repository previews. The output is synthetic sample data
for tests and prototypes.Where can I learn more about git data generation?
Where can I learn more about git data generation?
Read the git data generator guide
for endpoint options, response fields and integration patterns. The guide
also shows where git fixture data fits beside date, company, contact and
commerce generators.