当前位置: 首页 > 工具软件 > dryrun > 使用案例 >

git merge dryrun

朱鹤轩
2023-12-01

As noted previously, pass in the --no-commit flag, but to avoid a fast-forward commit, also pass in --no-ff, like so:

$ git merge --no-commit --no-ff $BRANCH

To examine the staged changes:

$ git diff --cached

And you can undo the merge, even if it is a fast-forward merge:

$ git merge --abort

转载于:https://www.cnblogs.com/xuxm2007/p/9999416.html

 类似资料:

相关阅读

相关文章

相关问答