自己做链接的网站,长沙哪里优化网站,联网站,wordpress 新功能远程仓库为空初始化
初始化本地仓库
git init 在本地仓库书写代码#xff08;这里可以编辑一个文本文件做测试#xff0c;如hello.txt#xff09;
5#xff09;执行#xff1a;git add 要让git管理的文件#xff08;git add hello.txt#xff09;执行完此操作将我…远程仓库为空初始化
初始化本地仓库
git init 在本地仓库书写代码这里可以编辑一个文本文件做测试如hello.txt
5执行git add 要让git管理的文件git add hello.txt执行完此操作将我们的hello.txt保存到了暂存区6执行git commit -m 备注信息执行此操作将我们的文件提交到了本地仓库7执行git remote add origin 自己的仓库地址如git remote add origin https://gitee.com/currygl/ttt.git执行此操作将我们的远程仓库和本地仓库绑定只需要绑定一次后面的修改提交就不需要了8git push -u origin master执行此操作将本地仓库的文件推送到远程仓库如果远程仓库已有内容
git init 后将本地代码库与远程代码库相关联 $ git remote add origin https://gitee.com/qlqaq/projects/仓库名称 把远程仓库的代码跟新到当前分支上面 $ git pull --rebase origin master 执行git add 文件名 git commit -m “” 将本地代码推送到指定远程的仓库中 $ git push -u origin master https://www.cnblogs.com/xyfer1018/p/11493718.html https://blog.csdn.net/qq_38215042/article/details/109406958
删除文件 https://blog.csdn.net/qq_42780289/article/details/98353792