When you enter $git remote add [email protected] : djqiang (GitHub account name)/gitdemo (project name). Git
The following error occurred:
The solution is as follows:
1. Enter $git remote RM origin first
2. Then enter $git remote add origin [email protected] : djqiang/gitdemo.git will not report error
3. Error: could not remove config section ‘remote. Origin’. We need to modify the content of gitconfig file
4. Find the installation path of your GitHub, and mine is C:: (users) ﹣ ASUS ﹣ appdata ﹣ local ﹣ GitHub ﹣ portablegit_ ca477551eeb4aea0e4ae9fcd3358bd96720bb5c8\etc
5. Find a file named gitconfig, open it, and delete the line [remote “origin”]
Similar Posts:
- GitHub common operations and common errors! Error prompt: fatal: remote origin already exists
- Git Error: fatal: remote origin already exists.
- Git submits the code to the remote warehouse with an error: fatal: remote origin already exists
- [Solved] Cannot run program “git.exe”: CreateProcess error=
- [Solved] NPM downloads the dependency of the front-end Vue admin template master template Error
- Git Error: Github:remote: Invalid username or password……
- How to Solve Code cloud error: fatal: remote origin already exists
- Git Upload File Error: fatal: could not read from remote repository. [How to Solve]
- GitHub# fatal: ‘origin’ does not appear to be a git repository
- [Solved] Github Push Error: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443