Skip to content

Commit 9dd56d9

Browse files
0.8.0
1 parent cc08fc8 commit 9dd56d9

File tree

4 files changed

+27
-23
lines changed

4 files changed

+27
-23
lines changed

.changeset/add-repair-and-no-auto-login.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# gh-setup-git-identity
22

3+
## 0.8.0
4+
5+
### Minor Changes
6+
7+
- 0171f4e: Add `--repair` and `--no-auto-login` CLI options
8+
9+
## New Features
10+
11+
### `--repair` option
12+
13+
Repair git identity configuration without triggering the login flow. This is useful when:
14+
15+
- Git operations fail with "empty ident name not allowed" error
16+
- The `user.name` or `user.email` was accidentally cleared or corrupted
17+
- You want to reconfigure git identity without going through login again
18+
19+
The `--repair` option requires existing GitHub CLI authentication.
20+
21+
### `--no-auto-login` option
22+
23+
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.
24+
25+
This is useful in scripts or automated environments where you want to fail fast rather than wait for an interactive login prompt.
26+
327
## 0.7.1
428

529
### Patch Changes

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gh-setup-git-identity",
3-
"version": "0.7.1",
3+
"version": "0.8.0",
44
"description": "A tool to setup git identity based on current gh user",
55
"type": "module",
66
"main": "src/index.js",

0 commit comments

Comments
 (0)