|
|
|
|
|
by jamesgeck0
5251 days ago
|
|
Your use case makes sense, but 1) Git's current initial setup UI would not prevent the user from making that mistake. It might make them feel stupid when they remember, but that's not the same thing as usability. The commit interface displays your identity and might throw up a red light. 2) Having made this mistake, a new user isn't going to remember the "git config" or "git commit --amend" commands they copied when prompted (if they remember entering them at all; I didn't remember exactly how initial setup worked). They're going to have to go look them up anyway. 3) Every user of Git will have a global username/email. Not every user will set them on a per-repo basis. I guess I'm wondering why Git inconveniences everyone in deference to the less common use case. |
|