把别人的远程仓库的代码下载下来 怎么上传到我的仓库的

1:git clone 克隆代码的地址
    2:git remote 查看所有远程仓库的
    3:git remote -v 查看远程厂库地址
    4:git remote rm origin  删除原先的远程仓库后-------准备再添加新的远程仓库
    5:git init
    6:git add -A
    7: git commit -m '备注'
    8:git  status 查看提交状态
    9:git  remote add origin  新地址

猜你喜欢

转载自blog.csdn.net/weixin_46900256/article/details/124761384