摘要: 阅读全文
posted @ 2025-07-21 09:38 海哲飞 阅读(9) 评论(0) 推荐(0)
摘要: 相對路徑 受 path>node xxx.js執行命令 的path影響,導致路徑拼接錯誤 絕對路徑影響移植性差 __dirname 文件所在路徑 path拼接路徑,替代字串路徑手拼+ JS執行環境 js runtime V8引擎 + Node.js內置API(fs/path/http/...) + 阅读全文
posted @ 2025-03-27 16:07 海哲飞 阅读(7) 评论(0) 推荐(0)
摘要: 物理端口限制 防火墻 端口限制 阅读全文
posted @ 2025-03-27 16:04 海哲飞 阅读(5) 评论(0) 推荐(0)
摘要: MERGE INTO target_tableUSING source_table ON (join_condition)WHEN MATCHED THEN UPDATE SET … [WHERE …] [DELETE … WHERE …]WHEN NOT MATCHED THEN INSERT ( 阅读全文
posted @ 2025-03-27 16:02 海哲飞 阅读(8) 评论(0) 推荐(0)
摘要: 從stage恢復工作區 git restore -W xxfile git restore --worktree xxfile 從本地倉庫恢復暫存區index git restore -S xxfile git restore --stage xxfile 從本地倉庫恢復工作區和index git 阅读全文
posted @ 2025-03-19 08:44 海哲飞 阅读(7) 评论(0) 推荐(0)
摘要: 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 海哲飞 阅读(372) 评论(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)