Connect the new computer to the GIT warehouse:
- Run at local terminal ssh-keygen -t rsa -C “username” (Note: Username is your user name on GIT)
- For all prompt messages, press enter to set the default value. After success, the SSH file will be automatically generated
- Open/user/administrator /. SSH (it may not be this path, you need to find it), and open the file ID_ rsa.pub, Copy the secret key inside
- Open GitHub account settings, enter SSH and GPG keys, and add the secret key to SSH keys
- Git clone and other operations can be run normally locally
Similar Posts:
- Please make sure you have the correct access rights and the repository exists. The problem has been solved when Git clone appears.
- Git Upload File Error: fatal: could not read from remote repository. [How to Solve]
- Git fetch upstream Error: XXX Permission denied (publickey). fatal: Could not read from remote repository
- Linux: How to Solve Git clone error
- Git Push Github ERROR: Permission to xxx.git denied to user
- [Solved] Cannot run program “git.exe”: CreateProcess error=
- [Solved] Git Error: failed: authentication failed for ‘http: XXXX.git / ”
- [Solved] item2 Error: a session ended very soon after starting. check that the command in profile default
- GitHub common operations and common errors! Error prompt: fatal: remote origin already exists
- Git Error: fatal: remote origin already exists [How to Solve]