git svn 中待处理的是什么?

发布于 2024-12-14 00:19:36 字数 101 浏览 4 评论 0原文

我想使用 git rebase -i 来压缩在 dcommitting 之前待处理的提交。然而,对我来说,哪些提交悬而未决并不是很明显。我是否缺少 git svn 选项,或者其他一些食谱?

I'd like to use git rebase -i to squash the commits that I have pending before dcommitting. It's not really obvious to me, however, which commits are hanging out there. Is there a git svn option I'm missing, or some other recipe?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

无敌元气妹 2024-12-21 00:19:36

您可以使用 git svn dcommit --dry-run 查看 git svn dcommit 将推送哪些 Git 提交。您可以尝试如下所示的操作来显示将推送的所有提交的日志:

git show $(git svn dcommit --dry-run | tail -n+2 | awk '{print $3}')

You can see which Git commits git svn dcommit will push using git svn dcommit --dry-run. You could try something like the below to show the logs of all the commits that would be pushed:

git show $(git svn dcommit --dry-run | tail -n+2 | awk '{print $3}')
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文