Let submit a project to GitHub code cloud and two warehouses

Find .git folder in the project directory and find the config file.

After opening the file locate the following code

[remote "origin"]
    url = git submitted address
    fetch = +refs/heads/*:refs/remotes/origin/*

To change

[remote "origin"]
    url = code Git cloud submitted address
    url = GitHub submitted address
    fetch = +refs/heads/*:refs/remotes/origin/*

Guess you like

Origin www.cnblogs.com/zsh-blogs/p/11612774.html