79549517

Date: 2025-04-02 02:10:04
Score: 0.5
Natty:
Report link

By default, Git will install in machine scope requiring elevation (admin rights) for installation if the user is part of the local administrator group. I believe the default user on a Windows installation is part of the local admin group, which you can verify by running the command net localgroup administrators in CMD and seeing your username under the Members section. The above comment suggesting winget to install by passing --scope user will also only work if the user is a "Standard User" account type and not a member of the local administrator group

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: mdanish-kh