git使用远程仓库

版权声明:本文为Banana原创文章,未经Banana允许不得转载。评论请留下你认真观看后的想法或者意见,非常感谢! https://blog.csdn.net/qq1515312832/article/details/81185331

上传文件到远程仓库

先复制项目仓库的地址

然后执行克隆命令,克隆远程仓库到本地,然后修改本地文件并且提交

git clone 远程仓库地址

cd 提交目录文件夹

touch 文件名

git add 文件名

git commit -m ‘文件描述’

git push

 

解决git push错误

点击此处跳转

猜你喜欢

转载自blog.csdn.net/qq1515312832/article/details/81185331