简体   繁体   中英

Xcode 6 how to remove branch in origin

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 "-". 在此处输入图片说明

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

thanks ...

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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