lazarevzubov
lazarevzubov

Reputation: 2315

Force-push from Xcode

Is there a way to force-push local changes in a branch onto remote from Xcode?

I'm using Xcode 16.2 (the latest to the moment of writing), and whenever there is a divergence, Xcode just refuses to push without any options (see the screenshot below).

Xcode error on trying to push from a diverging local branch

(I am aware that I can do that using, for example, Terminal or another software, but I really want to save time on switching and do everything from Xcode. For example, I may forget to add something to a commit and amend the changes to the previous commit, from Xcode. If the previous commit has been already pushed, Xcode won't allow you pushing changes [unlike, for instance, Jet Brains IDEs].)

Upvotes: 0

Views: 14

Answers (0)

Related Questions