简体   繁体   English

在源代码树中重新构建Git

[英]Git rebase in source tree

I'm just wondering that can I rebase remote branch to another remote branch through SourceTree ? 我只是想知道我可以通过SourceTree将远程分支重新设置为另一个远程分支吗?

Now I'm using git command line to handle this. 现在,我使用git命令行来处理此问题。
If SourceTree could be possible,it will be great. 如果SourceTree可行,那就太好了。

You can rebase at least local branches with SourceTree, as shown here . 您可以使用SourceTree至少为本地分支重新建立基础, 如此处所示

Sp make sure your remote branches have a local branch name , do your rebase, and then push back (with a push --force in SourceTree ) Sp确保您的远程分支具有本地分支名称 ,进行重新设置基础,然后向后推( 在SourceTree中使用push --force

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

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