every time a try to push from sourcetree, the push window shows me a branch named "forces", and for default ALWAYS that branch, and don't know who created (maybe a console typing error?).
How can i remove tedinitely that branch "forces", and restore the correct "matching" between local and remote branches so when i open the push window it shows me correctly
master --> master
stable --> stable
master --> foces
stable --> forces
Thank you very much :-)
Click the 'Fetch' button on the toolbar, and check the prune option before clicking OK. This will delete any remote branches that your local repo has a record of but which no longer exist on the remote.
To change how SourceTree defaults the Push dialog, check out the options in Preferences > Git > Push branches.
Fetch with prune does delete the local cache of the branches that are on the remote. If it hasn't gotten rid of this branch, it means that it still exists on the remote. If you want to delete it from the remote, you can do so by right-clicking the remote branch in the sidebar (expand the remote entry to see the remote branches, then right-click on it and select delete). Note that this will delete the branch on the remote, not just your own record of it.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG