使用git remote -v命令可以查看本地设置好的所有远程仓库地址. ➜ learn-vue git:(master) git remote -v origin https://github.com/qyf404/learn-vue.git (fetch) origin https://github.com/qyf404/learn-vue.git (push) 其中fetch表示从远程拉代码的地址. push表示向远程推代码的地址. 关于作者 相关文章: