Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • TortoiseGit TortoiseGit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 380
    • Issues 380
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGitTortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #3789
Closed
Open
Issue created Aug 27, 2021 by Philippe Cloutier@chealer

Commit dialog: Amend Last Commit in Message section unclear

What steps will reproduce the problem?

This does not report a behavioral bug.

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

This does not report a behavioral bug.

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

TortoiseGit 2.12.0.0 and Git 2.29.2.3 on Windows 10

Please provide any additional information below.

The Commit dialog (pictured in figure 2.9 of the manual) contains an Amend Last Commit checkbox. The label itself does not make it extremely clear what this does, and to be honest I am not sure 100.0% sure, but based on the tooltip, I am guessing that by checking it, instead of creating a new commit, the "Commit" button will cause:

  1. The message of the previous commit to be replaced with the one in the Message field
  2. The changes in the checked files to be added to the contents of the previous commit.

While covering that feature in the documentation would surely help, it would also be immediately much clearer if that preference was not in the Message section, since if the above list is correct, its effect goes much beyond the message.

I recommend to:

  1. Rename "Amend Last Commit" to something like "Modify Previous Commit"
  2. Move it before the message field
  3. Update the button's label accordingly when the checkbox is checked (possibly to "Replace Previous Commit")
Edited Jan 12, 2022 by Philippe Cloutier
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking