Git for Windows command line installer #5831
Replies: 3 comments
-
most likely the latter. The option to put GCM on the path (along with every other tool included in Git for Windows) is |
Beta Was this translation helpful? Give feedback.
-
You should never call Git commands in the "dashed" form, i.e. with a As a consequence, you should never call To prove that this works: PS C:\Users\me> git version
git version 2.51.0.windows.1
PS C:\Users\me> git credential-manager configure
Configuring component 'Git Credential Manager'...
Configuring component 'Azure Repos provider'... You can also ensure that the correct option was used by calling this command and looking for the "Use Credential Manager" line: PS C:\Users\me> git -c alias.sh="!sh" sh -c "cat /etc/install-options.txt"
Editor Option: VIM
Custom Editor Path:
Default Branch Option:
Path Option: Cmd
SSH Option: OpenSSH
Tortoise Option: false
CURL Option: WinSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Git Pull Behavior Option: Merge
Use Credential Manager: Enabled
Performance Tweaks FSCache: Enabled
Enable Symlinks: Enabled
Enable FSMonitor: Disabled |
Beta Was this translation helpful? Give feedback.
-
@dscho - thanks very much for the reply. This is helpful. The internet is littered with references to 'git-credential-manager'. Appreciate the correction! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Looking for switches to install GCM while running the git install. This is necessary for enterprise deployments (which use tools that leverage the silent install).
This site: https://gitforwindows.org/silent-or-unattended-installation.html
Makes me thing this would work:
Git-2.51.0-64-bit.exe /VERYSILENT /NORESTARTAPPLICATIONS/NORESTART /SP- /SUPPRESSMSGBOXES /o:UseCredentialManager=Enabled
But either it doesn't install, or it doesn't install in the PATH.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions