13

I'm using git kraken client gui and I need to perform a force push on a repository. It would be really grateful if someone can guide me the steps to perform a force push on git kraken.

Shelly
  • 410
  • 7
  • 26

1 Answers1

21

As @Viktor Seč commented: When you hit push and GitKraken detects that a fast forward update is not possible, it lets you decide wether you want to pull (i.e. merge) changes from upstream or perform a force push:

GitKraken Pull or Force Push

If this is not shown, then a force push is not necessary and a normal, fast-forward update can be performed.

kowsky
  • 12,647
  • 2
  • 28
  • 41
  • 6
    I wish there were a force push button somewhere for when I already know a force push is required (like after a rebase). I have a git hook on push and right now it runs twice: once before and once after the prompt to pull or force push... :'( – Axel Oct 03 '18 at 11:39