Git将本地已有库增量代码推送到远程库-Gitee.com

2023-04-10 17:14:49 浏览数 (1)

一、4月7日已经Push到原端库

二、4月10日将新开发代码push到远程库

代码语言:shell复制
//添加本地暂存库
git add 01 常用算法排序

//提交到本地库
git commit -m "commit 20230410"
代码语言:shell复制
//推送到远程库
git push -u origin master

三、压缩、上传

代码语言:shell复制
lishu@Win-Work MINGW64 /d/Dev (master)
$ git push -u origin master
Enumerating objects: 242, done.
Counting objects: 100% (242/242), done.
Delta compression using up to 20 threads
Compressing objects: 100% (223/223), done.
Writing objects: 100% (241/241), 50.10 MiB | 817.00 KiB/s, done.
Total 241 (delta 106), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (106/106), completed with 1 local object.
remote: Powered by GITEE.COM [GNK-6.4]
To gitee.com:lishuai/xx.git

四、done

git

0 人点赞