摘要: Git 阅读全文
posted @ 2025-03-18 16:02 海哲飞 阅读(8) 评论(0) 推荐(0)
摘要: #打包,垃圾回收 #1、壓縮相似對象 #2、合併重複對象 #3、清理懸空對象 git gc #查看已打包的內容 git verify-pack -v .git/objects/pack/packxxxxxx.inx https://www.bilibili.com/video/BV1jJ4m1G7i 阅读全文
posted @ 2025-03-18 16:01 海哲飞 阅读(8) 评论(0) 推荐(0)
摘要: git fsck 查看懸空對象 git prune 刪除懸空對象 如下情況均會產生懸空對象 git add 不提交,產生的commit對象 git tag -d git stash drop stash{n} 阅读全文
posted @ 2025-03-18 15:17 海哲飞 阅读(6) 评论(0) 推荐(0)
摘要: git pull --rebase 和 git pull 的主要区别在于合并远程更新的方式:前者使用 rebase,后者使用 merge。 1. ‌功能差异‌‌1 ‌git pull‌:默认行为是执行 git fetch 后跟 git merge,将远程分支的最新提交拉取到本地,并通过合并(merg 阅读全文
posted @ 2025-03-18 14:45 海哲飞 阅读(378) 评论(0) 推荐(0)
摘要: The Revision Control System (RCS) manages multiple revisions of files. RCS automates the storing, retrieval, logging, identification, and merging of r 阅读全文
posted @ 2025-03-18 13:29 海哲飞 阅读(10) 评论(0) 推荐(0)
摘要: From Git如何优雅的进行版本回退:git reset 和 git revert区别_git reset 和 git resver的区别-CSDN博客 阅读全文
posted @ 2025-03-18 00:41 海哲飞 阅读(15) 评论(0) 推荐(0)