本文介绍了使用 SourceTree 强制推送的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

几天前我开始使用 SourceTree 在我的 Mac 上管理 Mercurial 存储库.现在我在推送到我的远程存储库时在新分支上创建了一个新头时遇到了问题,我想强制它.

I started using SourceTree a few days ago to manage Mercurial repositories with my Mac. Now I ran into the problem when pushing to my remote repository creates a new head on a new branch and I would like to force it.

但是,我无法在 SourceTree 中找到任何允许我为推送设置强制选项的特定选项.是我找不到还是没办法设置?

However, I am not able to find any specific option in SourceTree which allows me to set the force option for a push. Is it just my inability to find it or is there no possibility to set it?

提前致谢迈克尔

推荐答案

SourceTree 终于要添加强制推送了:https://jira.atlassian.com/browse/SRCTREE-1156

SourceTree is finally going to add force push:https://jira.atlassian.com/browse/SRCTREE-1156

原因:https://answers.atlassian.com/questions/54469/how-do-i-perform-a-forced-push-push-f-from-sourcetree

现在已经在SourceTree中添加了,但是需要在设置中开启该选项.

It is now added in SourceTree, but you need to turn the option on in the settings.

这篇关于使用 SourceTree 强制推送的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-19 01:16