728x90
### Fix remote repository authentication failure
### Switching remote URLs from SSH to HTTPS
1. Open Terminal.
2. Change the current working directory to your local project.
3. List your existing remotes in order to get the name of the remote you want to change.
git remote -v
origin git@github.com:USERNAME/REPOSITORY.git (fetch)
origin git@github.com:USERNAME/REPOSITORY.git (push)
4. Change your remote's URL from SSH to HTTPS with the git remote set-url command.
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
5. Verify that the remote URL has changed.
git remote -v
# Verify new remote URL
origin https://github.com/USERNAME/REPOSITORY.git (fetch)
origin https://github.com/USERNAME/REPOSITORY.git (push)
'ネットは広大だわ' 카테고리의 다른 글
Show Commands (0) | 2021.03.22 |
---|---|
CISCO L2TP VPN Sample (0) | 2021.03.22 |
MDS 9222i Sample (0) | 2021.03.22 |
PPTP VPDN (0) | 2021.03.22 |
ZSH Prompt Customize (0) | 2021.03.22 |