harden with a git push

Asked 2 years ago, Updated 2 years ago, 74 views

After cloning, when I try to edit the file and commit add and push, the process stops without asking for the username or password in push.There is no error message or output.What should I do?
By the way, I did the above on Ubuntu, a virtual machine, and it worked.

The environment works with Windows 10's Git Bush.
Please let me know what I should do.

git windows-10 git-bash

2022-09-30 19:13

1 Answers

When you ask questions, write more information about your environment.

Depending on the version of Git for Windows, the steps may vary.

This is probably because the module in Credentials Manager is not working properly.A similar report has been published in Stack Overflow in English.

In older versions of Git for Windows, the .NET Framework-based "Git Credential Manager" was now used by default by checking "Enable Git Credential Manager" in the "Configuring extra options" screen of the installer.NET Core-based "

In the Choose a credential helper screen of the new Git for Windows installer, the new Git Credential Manager Core is selected by default, but as of Git for Windows v2.32.0, this new Manager Core does not seem to function properly.
(The affected modules are "C:\Program Files\Git\mingw64\libexec\git-core\git-credential-manager-core.exe")

I don't know how to solve the problem with Manager Core, but I think using "wincred" as an alternative can avoid it temporarily.
(The affected modules are "C:\Program Files\Git\mingw64\libexec\git-core\git-credential-wincred.exe")

In TortoiseGit,
in Helper, "Settings" → "Git" → "Credential" You can now select wincred/manager/manager-core.

$git config --global credential.helper wincred

The credentials that you enter in the authentication dialog are managed by the Windows Credentials Manager.
If you want to delete credentials, you can delete them in Control Panel → User Account → Credentials Manager → Windows Credentials.


2022-09-30 19:13

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.