Changing Your Git URL (on a CodeAnywhere devbox)

preview_player
Показать описание
This video covers how to fix the issue that comes up when you clone a Git repo using the wrong URL. In this case, we are using CodeAnywhere, and when we clone using the HTTPS URL we get an error due to the fact that we're using Github's 2-factor Authentication.

This problem comes up occasionally, and people often destroy the devbox and re-clone the project. However, that takes time and is unnecessary. You can alter the `.git/config` file to change the clone URL and everything will work properly again.

Рекомендации по теме