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 302
    • Issues 302
    • 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
  • #664

Closed
Open
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
None
Milestone
None
Assign milestone
Time tracking