Xcode 6 how to remove branch in origin

2019-06-01 06:02发布

I have two question about Xcode 6 by operational git version control.

1. I created a branch xxx and push this branch to server ,but I don't want it anymore, can I remove it. When I selected origin branch (Test01,Test02) , I couldn't click remove sign "-". If selected local branch it can click remove sign "-". enter image description here

2. Does any way to checkout old version from server in Xcode 6? I using Visual Studio Team Services git version control

thanks ...

1条回答
Viruses.
2楼-- · 2019-06-01 06:37

If XCode doesn't allow that operation, you can at least fall back to the git command line and:
delete the remote branch (and clean the remote traking branch in your repo)

    git push --delete 
    git fetch <remote> --prune
查看更多
登录 后发表回答