3 comments
Comment actions Permalink
VCS menu -> Git -> Push.  (Ctrl-Shift-K on Windows.)
0
Comment actions Permalink
Well that is push, alright, but if the push gets rejected I get a dialog only offering me to merge or rebase, not to force the push. Or am I missing something?
0
Comment actions Permalink
Sorry, clearly I missed the 'force' part. As far as I can tell PyCharm doesn't allow you to do this. Maybe because it's a bit dangerous, since it can cause the remote to lose commits. You could always do it from the command line of course.
0

Please sign in to leave a comment.