docs: add gitignore one-liners to README Quick Start#11
Draft
archon-instinct[bot] wants to merge 3 commits into
Draft
docs: add gitignore one-liners to README Quick Start#11archon-instinct[bot] wants to merge 3 commits into
archon-instinct[bot] wants to merge 3 commits into
Conversation
…tart - Add project .gitignore idempotent one-liner using grep -qxF guard - Add global excludesfile snippet that resolves-or-sets core.excludesfile then appends idempotently - Both snippets target the exact binary name 'git-author-reformer' - Placed immediately after the ./git-author-reformer run block, before What It Does
… downloaded binary to both project and global gitignore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
./git-author-reformerrun block and before## What It Does.gitignoreone-liner: usesgrep -qxFwhole-line guard with2>/dev/nullfallback and||append — safe to run multiple times, creates the file if absentcore.excludesfile(defaulting to~/.gitignore_globalif unset), then applies the same idempotent append guardChanges
README.md— Quick Start section updated with gitignore instructionsVerification
All 3 must-haves verified (score 3/3):
.gitignoreone-liner present in Quick Startgit-author-reformer(no platform suffixes)Automated spot-checks:
grep -c "grep -qxF 'git-author-reformer'" README.md→ 2 ✓grep -q "core.excludesfile" README.md→ match found ✓## What It Does(line 38) ✓-linux-x86_64/-macos-aarch64suffixes in gitignore snippets ✓Fixes #10