简体   繁体   English

TortoiseGit:我怎样才能看到即将推送的提交列表

[英]TortoiseGit: How can I see a list of commits that are about to be pushed

I have merged in some commits from different branches into my "develop" branch and I'm now ready to push them to the remote branch. 我已经将来自不同分支的一些提交合并到我的“开发”分支中,现在我已准备好将它们推送到远程分支。

In TortoiseGit, is it possible to view a list of items that are about to be pushed? 在TortoiseGit中,是否可以查看即将推送的项目列表?

"Check for Modifications" is not showing me anything, as the changes are coming from branches. "Check for Modifications"没有向我显示任何内容,因为更改来自分支机构。

"Show Log" is also showing me a chronological list of all changes. "Show Log"也向我展示了所有变化的时间顺序列表。 I rather just see a simple list of items that are queued to be pushed. 我只是看到一个排队等待推送的项目的简单列表。

I hope I'm making sense. 我希望我有意义。

Use "Sync Dialog" Right click the repository folder, choose "Sync" 使用“同步对话框”右键单击存储库文件夹,选择“同步”

In "Out commits" tab, you will see a list of commits to be pushed to the remote. 在“Out commits”选项卡中,您将看到要推送到远程的提交列表。

Switch to "Out ChangeList" tab, you will see a list of changed files relative to the remote version. 切换到“Out ChangeList”选项卡,您将看到相对于远程版本的已更改文件列表。

If "Out commits" is empty or "Out ChangeList" tab does not appear, specify "remote branch" explicitly in the combo box. 如果“Out commits”为空或“Out ChangeList”选项卡未出现,请在组合框中明确指定“remote branch”。 Then "Out commits" list will load and "Out ChangeList" tab will appear. 然后将加载“Out commits”列表,并出现“Out ChangeList”选项卡。 This may happen if current branch does not have a "remote-tracking branch". 如果当前分支没有“远程跟踪分支”,则可能发生这种情况。

"Pull Dialog" has no such info. “拉对话框”没有这样的信息。

我不知道你是否有办法在TortoiseGit中指定它,但我认为你想要的命令类似于:

$ git log origin/master..master

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM