Xcode 6 how to remove a branch in the source

I have two questions about Xcode 6 using git version control.

1. I created the xxx branch and push this branch to the server, but I no longer want it, can I delete it. When I selected the branch of origin (Test01, Test02), I could not click the "-" button. If the local branch is selected, it can click the β€œ-” icon. enter image description here

2. Is there a way to check the old version from the server in Xcode 6? I am using Visual Studio Team Services git version control

thanks...

+1
source share
1 answer

If Xcode does not allow this operation, you can at least return to the git command line and:
delete the remote branch (and clear the remote trailing branch in your repo)

git push --delete git fetch <remote> --prune 
0
source

Source: https://habr.com/ru/post/1206209/


All Articles