git推送项目到码云和github 和 git常用命令
计算属性
注册并激活账号
创建仓库
获取仓库的地址
本地配置远程仓库的地址
1. 在项目目录下进行初始化
git init
2.连接远程仓库地址
git remote add origin https://github.com/xxxx/xxxx.git (复制)
//远端仓库管理
add 添加
origin 远端仓库的别名(可以修改)
https://github.com/xiaohigh/test2.git 仓库地址
...
原创
2020-12-03 21:22:37 ·
5415 阅读 ·
0 评论