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
  • #664
Closed
Open
Issue created Aug 02, 2015 by Sven Strickroth@mrtuxOwner

Warn when committing to detached HEAD

By robert.pol... on January 10, 2011 09:00 (imported from Google Code)


What steps will reproduce the problem?

  1. Checkout an earlier commit, to create a detached HEAD
  2. Edit a file
  3. Commit

What is the expected output? What do you see instead?
The commit should not be simply executed. Instead, a dialog should appear that warns, asks whether a new branch should be created and allows to enter a branch name.

Additionally, there should be a TortoiseGit option to totally disable committing to a detached HEAD.

What version of the product are you using? On what operating system?
TortoiseGit-1.6.2.0-32bit.msi on WinXP

This feature was extracted from issue #560 (closed) '"Submodule Add" should not detach HEAD'.

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