#1239 Amber-CLI Git Configuration Gets Clobbered

Closed
opened 1 year ago by 10Perfections · 1 comments

When setting up a new localhost site with amber init, you set the 'Author name' and 'Author email' - works great!

But... doing a git init overwrites those settings without warning.

My localhost Git configuration is frequently different from my global Git configuration, and if I hadn't have checked prior to doing my 'initial commit', the wrong info would have been used :(

Maybe, at the minimum, add a final note during the amber init run that mentions that the git init will overwrite the amber init settings.

Or, maybe I just have a misunderstanding of what the amber init settings are actually used for...

When setting up a new localhost site with `amber init`, you set the 'Author name' and 'Author email' - works great! But... doing a `git init` overwrites those settings without warning. My localhost Git configuration is frequently different from my global Git configuration, and if I hadn't have checked prior to doing my 'initial commit', the wrong info would have been used :( Maybe, at the minimum, add a final note during the `amber init` run that mentions that the `git init` will overwrite the `amber init` settings. Or, maybe I just have a misunderstanding of what the `amber init` settings are actually used for...
Herby Vojčík commented 1 year ago
Owner

They are only setting what's in package.json.

The settings of git is orthogonal.

Closing, reopen if you feel this is indeed an issue (git init changed authorship info in package.json).

They are only setting what's in package.json. The settings of git is orthogonal. Closing, reopen if you feel this is indeed an issue (git init changed authorship info in package.json).
Sign in to join this conversation.
No Label
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.