git init
git add .
git commit -m 'first commit'
git remote -v
//如果有,则删掉已存在的远程仓库
git remote rm origin
//如果没有仓库配置,则增加远程仓库地址配置
git remote add origin git@gitee:account/repo.git
git 切换仓库
最新推荐文章于 2023-11-23 11:13:35 发布
git init
git add .
git commit -m 'first commit'
git remote -v
//如果有,则删掉已存在的远程仓库
git remote rm origin
//如果没有仓库配置,则增加远程仓库地址配置
git remote add origin git@gitee:account/repo.git