Currently, to checkout a tag, one has to select the appropriate commit version in the RHS pane & then choose "Create Branch from This Commit...".
Lets improve the workflow in 2 ways:
-- In the LHS pane, when I right click on a tag in the TAGS section, offer "Create Branch from This Commit..." option
-- Second, in the pop-up dialog, have a checkbox option below "Name" field which states "Do not specify a branch name" Then, have an explanatory note below this option stating: "This will put you in a 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout."
The command line git command to do this is: git checkout tags/<tag_name>.
If this box is unchecked (default), we execute the command: git checkout tags/<tag_name> -b <branch_name>
For reference: http://stackoverflow.com/a/792027
Issue #14237 |
New |
Completion |
No due date |
No fixed build |
No time estimate |