-
0171f4e: Add
--repairand--no-auto-loginCLI optionsRepair git identity configuration without triggering the login flow. This is useful when:
- Git operations fail with "empty ident name not allowed" error
- The
user.nameoruser.emailwas accidentally cleared or corrupted - You want to reconfigure git identity without going through login again
The
--repairoption requires existing GitHub CLI authentication.Disable automatic login if not authenticated. Instead of starting the interactive login process, the tool will exit with an error and show manual authentication instructions.
This is useful in scripts or automated environments where you want to fail fast rather than wait for an interactive login prompt.
-
469bcb7: Add case study documentation and multi-environment usage warning for GitHub OAuth token limits
- Add comprehensive case study for OAuth token invalidation issue (#26)
- Update README.md with multi-environment usage section documenting the 10-token limit
- Add CLI warning when OAuth device flow authentication is triggered
-
42cf449: Add support for
gh auth setup-gitcommand- Added new
runGhAuthSetupGit()function to configure git to use GitHub CLI as credential helper - CLI now automatically runs
gh auth setup-git -h <hostname>after successfulgh auth login - CLI also runs
gh auth setup-gitwhen already authenticated to ensure proper configuration - Updated documentation with
gh auth setup-gitinformation and API reference
This fixes the "could not read Username for 'https://github.com': No such device or address" error that occurs when git operations are attempted without the credential helper being configured.
Fixes #24
- Added new
-
1094f06: feat: fully configurable support of
gh auth loginAdded configurable options for GitHub authentication that mirror all
gh auth loginflags:--hostname: GitHub hostname (default:github.com) - enables GitHub Enterprise support--scopes/-s: Authentication scopes (default:repo,workflow,user,read:org,gist)--git-protocol/-p: Git protocol -sshorhttps(default:https)--web/-w: Open browser to authenticate (default:true)--with-token: Read token from stdin for non-interactive authentication--skip-ssh-key: Skip SSH key generation/upload prompt--insecure-storage: Store credentials in plain text instead of credential store--clipboard: Copy OAuth code to clipboard
These options can be configured via:
- CLI flags
- Environment variables (
GH_AUTH_HOSTNAME,GH_AUTH_SCOPES, etc.) .lenvconfiguration file
The library also exports
defaultAuthOptionsobject with all default values.
-
071e6d3: feat: add --verify option to verify git identity configuration
- Added
--verifyCLI option to run all 3 verification commands at once - Users can now use
gh-setup-git-identity --verifyinstead of running individual commands - Works with
--localflag for local repository configuration - Updated README with verification documentation and code blocks
- Added
-
72d4185: Improve output formatting with better organization and verification commands
- Added blank lines between major sections for better visual grouping
- Applied consistent indentation (2 spaces) to detail lines under section headers
- Added helpful verification commands suggestion at the end of output
- Updated README.md to reflect the new output format
- Makes output more readable and professional while providing actionable next steps
-
43e1c63: Reduce excessive blank lines in console output
- Removed unnecessary blank lines in CLI output to make it more concise
- Improved readability by minimizing spacing while maintaining logical separation
- Fixed issue where authentication and configuration messages had too much whitespace
-
bda1ef5: Make project bun-first and bun-only
- Updated all shebangs from
#!/usr/bin/env nodeto#!/usr/bin/env bun - Replaced npm commands with bun in package.json scripts
- Updated README.md to recommend bun installation and usage
- Modified GitHub Actions workflows to use bun instead of node
- Changed package.json engines from node to bun
- Simplified test matrix to only use bun (removed node and deno)
- Updated all shebangs from
-
51dceeb: Fix release notes formatting to support Major and Minor changes
Previously, the format-release-notes.mjs script only looked for "### Patch Changes" sections in release notes. This caused releases with Minor or Major changes (like v0.3.0) to not be properly formatted with PR links and npm badges.
Updated the regex pattern to handle all three change types (Major, Minor, and Patch), matching the release template from test-anywhere repository.
- 8c146cc: Automatically run
gh auth loginwhen GitHub CLI is not authenticated, enabling single-command setup instead of requiring manual login first
- Test patch release
- cead870: Add NPM version badge to README.md to display current package version from npm registry
- 6158223: Update gh auth login command in docs and CLI to use
--git-protocol https --webflags for improved browser-based authentication flow
-
b8ecb63: Update CI/CD pipeline and testing framework to match test-anywhere patterns
- Consolidate GitHub Actions workflow into single release.yml file
- Add unified test matrix for Node.js, Bun, and Deno across Ubuntu, macOS, and Windows
- Add Node.js scripts for release automation (validate-changeset, version-and-commit, publish-to-npm, etc.)
- Add support for manual releases via workflow_dispatch (instant and changeset-pr modes)
- Add npm OIDC trusted publishing support
- Add GitHub release formatting with shields.io badges and PR links
- Update changeset configuration to use @changesets/cli/changelog
- Add changeset:status script for checking changeset status