14 条回复  ·  1799 次点击
mark2025 小成 2024-12-30 19:15:30
@GeruzoniAnsasu 这是我所有 git 项目钩子自动执行的: git config --global i18n.commitencoding utf-8 git config --local core.autocrlf input git config --local core.eol lf if [ -z "$CI" ]; then git config --local core.filemode false git config --local core.hooksPath ./.githooks git config --local core.ignorecase false git config --local core.precomposeUnicode true git config --local fetch.prune true git config --local pull.rebase true git config --local push.autoSetupRemote true git config --local push.followTags true git config --local rebase.autoStash true git config --local remote.origin.prune true git config --local remote.origin.tagopt --tags git config --local remote.pushdefault origin git config --local rerere.enabled true fi;
leonshaw 小成 2024-12-30 19:20:36
base 没有 line70 ,那严格来说 B 并没有基于 A 开发
leonshaw 小成 2024-12-30 19:24:24
B merge master 没有问题,但是不能 merge 没有进 master 的 A
LeeEnzo 初学 2024-12-30 19:34:38
强制 rebase 和 squash 开发
freesun165 楼主 初学 2024-12-30 19:35:15
@netabare 话虽如此,但我这个业务场景经常一个分支测一个月以上,一百多个提交,每次 master 更新,我挨个 rebase 下,成本太高了
12
返回顶部