SourceTree中是否有一个选项是在完成功能分支时是否删除远程分支?

时间:2018-01-02 07:20:42

标签: git atlassian-sourcetree

(对不起任何语法错误。)

我的朋友和我在SourceTree下面执行了相同的步骤:

  1. 创建名为" TEST-1234_AAAA"的功能来自Develop并切换到它
  2. 编辑文件并进行提交
  3. 推送" TEST-1234_AAAA"到我们的Git服务器
  4. 完成并删除" TEST-1234_AAAA"
  5. 不知怎的,我们得到了不同的结果,
    我在遥控器上的功能仍然存在,但是他被删除了。

    以下是功能完成期间的输出消息:

    sh.exe C:\Users\Administrator\AppData\Local\Atlassian\SourceTree\gitflow_local\gitflow\git-flow feature finish TEST-1234_AAAA
    Your branch is up to date with 'origin/develop'.
    Switched to branch 'develop'
    Updating d004c89..5e0354c
    Fast-forward
    
     readme.md | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    Deleted branch feature/TEST-1234_AAAA (was 5e0354c).
    
    Summary of actions:
    - The feature branch 'feature/TEST-1234_AAAA' was merged into 'develop'
    - Feature branch 'feature/TEST-1234_AAAA' has been removed
    - You are now on branch 'develop'
    
    
    
    
    
    Completed successfully.
    

    这是他的输出信息:

    sh.exe C:\Users\easyuse\AppData\Local\Atlassian\SourceTree\gitflow_local\gitflow\git-flow feature finish TEST-1234_AAAA
    Your branch is up to date with 'origin/develop'.
    Switched to branch 'develop'
    Updating d004c89..3222d73
    Fast-forward
    
     readme.md | 3 ++-
     1 file changed, 2 insertions(+), 1 deletion(-)
    
    To http://[URL of my Git server]/test/wayne_practicing_area.git
     - [deleted]         feature/TEST-1234_AAAA
    
    Deleted branch feature/TEST-1234_AAAA (was 3222d73).
    
    Summary of actions:
    - The feature branch 'feature/TEST-1234_AAAA' was merged into 'develop'
    - Feature branch 'feature/TEST-1234_AAAA' has been locally deleted; it has been remotely deleted from 'origin'
    
    
    - You are now on branch 'develop'
    
    Completed successfully.
    

    是否有任何选项或设置可能导致差异? 我会感谢任何帮助。

0 个答案:

没有答案