Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
TortoiseGit
TortoiseGit
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 303
    • Issues 303
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 9
    • Merge requests 9
  • Requirements
    • Requirements
    • List
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #3442

Closed
Open
Created Oct 23, 2019 by Arthur Heidt@ArthurHNL

Commit & Push after amending a commit always results in a failed push

What steps will reproduce the problem?

  1. Create a repo with a remote.
  2. Make some changes.
  3. Commit the changes and push it with commit & push.
  4. Realize you made a mistake and amend your commit with commit & push.

What is the expected output? What do you see instead?

I expect ToirtoiseGit to use git push --force-with-lease to push the amended commit. Instead, it just executes git push which results in the remote rejecting the amended commit.

What version of TortoiseGit and Git are you using? On what operating system?

TortoiseGit 2.8.0.0 git version 2.23.0.windows.1 Windows 10 Pro Version 1903 Build 18362.418

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking