Skip to content

Commit b6b69f9

Browse files
authored
feat: show email address (#1)
1 parent f19afd9 commit b6b69f9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/clone.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,9 @@ export const clone = async (opts: { repo: string; dir: string }) => {
132132
await execa('git', ['config', '--replace-all', 'user.email', email], {
133133
cwd: targetDir,
134134
})
135-
logger.success(`Set git user ${chalk.blue(username)} success`)
135+
logger.success(
136+
`Set git user ${chalk.blue(`${username}(${email})`)} success`
137+
)
136138
}
137139
setGitConfig()
138140
}

0 commit comments

Comments
 (0)