Add force option --force-with-lease

164 votes

Git push --force overwrites a remote branch with your local branch.

Git push --force-with-lease is a safer option that will not overwrite any work on the remote branch if more commits were added to the remote branch (by another team-member or coworker or what have you). It ensures you do not overwrite someone elses work by force pushing.

As a user, I want GitKraken to support using --force-with-lease with a checkbox.

Done Suggested by: jeremy simmons Upvoted: 01 Sep Comments: 13

Comments: 13

Add a comment

0 / 1,000

* Your name will be publicly visible

* Your email will be visible only to moderators