摘要: 命令: 介绍: git cherry-pick "commit id" 合入其它分支的提交 git cherry-pick -e "commit id" 合入其它分支的提交(重新编辑commit信息) git cherry-pick -n "commit id" 合入其它分支的提交(只更新工作区和暂 阅读全文
posted @ 2025-12-03 09:46 RichardHuang1 阅读(3) 评论(0) 推荐(0)
摘要: 命令: 介绍: git clone ssh://IP地址:端口号/仓库名 下载代码 git pull 更新代码 git clean -xdf 谨慎使用:清理工作目录并删除所有未跟踪的目录及其内容 git add -A 将修改文件、新增文件、删除文件加入至缓冲区 git commit -m 提交至本地 阅读全文
posted @ 2025-12-03 09:45 RichardHuang1 阅读(5) 评论(0) 推荐(0)