An error was encountered while publishing to the remote repository: could not read Username for ‘ https://github.com ‘: terminal prompts disabled, and the account password is required to be entered. Even if it is entered correctly, it cannot be released normally
Question 1. Terminal prompts disabled
Solution: configure environment variables GIT_TERMINAL_PROMPT=1
Question 2. You need to enter the account password. Even if it is correct, it cannot be published or pulled
Solution:
1) Set git to save HTTP account password
git config –global credential.helper store
Open console program input
2) Manually pull the GIT project and enter the account password
For example:
Successful cloning is no problem!!!