• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • None
    • 4.0, 4.0.2
    • Git
    • Minor

      --force-with-lease option for git push is missing on macOS.

      This problem has been previously discussed  and wrongly resolved SRCTREE-4964.

            [SRCTREE-7483] Missing support of git push --force-with-lease

            KamilCFD added a comment - - edited

            @Arati Mohanty Currently, the task is poorly done—it misleads users. Someone wanting to use rebase will be looking for the "force-with-lease" option, but instead, they only see "force push" when pushing changes (and in the settings)—and they are unnecessarily confused, looking for information on the internet.

            If "force push" is actually executing "force-with-lease," then it is a mislabel. Therefore, I suggest changing label to
            "force push (with lease)"
            or
            "force push with lease"

            KamilCFD added a comment - - edited @Arati Mohanty Currently, the task is poorly done—it misleads users. Someone wanting to use rebase will be looking for the "force-with-lease" option, but instead, they only see "force push" when pushing changes (and in the settings)—and they are unnecessarily confused, looking for information on the internet. If "force push" is actually executing "force-with-lease," then it is a mislabel. Therefore, I suggest changing label to "force push (with lease)" or "force push with lease"

            brettz9 added a comment -

            When clicking the "Force push" checkbox upon an attempt to push, `--force-with-lease` appears to now be the one used (if the log output is any indication). There's no option for a regular `–force`, but I wouldn't think that should normally be an option anyways.

            brettz9 added a comment - When clicking the "Force push" checkbox upon an attempt to push, `--force-with-lease` appears to now be the one used (if the log output is any indication). There's no option for a regular `–force`, but I wouldn't think that should normally be an option anyways.

            I also can't find it. So I'm not the only one.

            Sebastian Kohl added a comment - I also can't find it. So I'm not the only one.

            lokhman added a comment -

            > Fix is available in version.4.2.7

            Where can we find the "push force with lease" option? I cannot see anything new in the UI.

            lokhman added a comment - > Fix is available in version.4.2.7 Where can we find the "push force with lease" option? I cannot see anything new in the UI.

            Fix is available in version.4.2.7

            Arati Mohanty added a comment - Fix is available in version.4.2.7

            77a968756571 Thanks for reaching out to us. It is in our backlog already. We will work on it and will update here.

            Arati Mohanty added a comment - 77a968756571 Thanks for reaching out to us. It is in our backlog already. We will work on it and will update here.

            Nate Hart added a comment -

            I'm honestly stunned that this has not been fixed. How hard would it be to add an option to "use force-with-lease instead of force" setting? The lack of this feature makes me want to use a competitor.

            Nate Hart added a comment - I'm honestly stunned that this has not been fixed. How hard would it be to add an option to "use force-with-lease instead of force" setting? The lack of this feature makes me want to use a competitor.

            +1 very important issue

            Sebastian Weise added a comment - +1 very important issue

            Any news?

            Sebastian Kohl added a comment - Any news?

            KamilCFD added a comment - - edited

            This very important - if someone use rebase - then he allways must open terminal to run this command  

            On MacOs pmenu>preferences>Advanced there is option "Allow force push" - and it will be convinient to add: "Allow force-with-lease push"

            KamilCFD added a comment - - edited This very important - if someone use rebase - then he allways must open terminal to run this command   On MacOs pmenu>preferences>Advanced there is option "Allow force push" - and it will be convinient to add: "Allow force-with-lease push"

              2566180e0bc8 Arati Mohanty
              c7e2b848c32a Štefan Peťovský
              Affected customers:
              8 This affects my team
              Watchers:
              14 Start watching this issue

                Created:
                Updated:
                Resolved: