-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to disable detached head dialogs #2460
![:neckbeard: :neckbeard:](https://github.githubassets.com/images/icons/emoji/neckbeard.png)
Comments
You want commit in detached head state? |
Current behavior when committing while not working on a branch:
Desired behavior:
|
The reason that is done is so that you don't commit and then loose the On Tue, Sep 23, 2014 at 1:10 PM, m35 notifications@github.com wrote:
Jay Asbury |
Indeed, that is the reason for the existing dialog. And the reason to have the option to disable the dialog is because you're not a git novice, thus well aware of the implications of detached head state and don't need the incessant reminder. |
Even as a git expert, I can see that mistake happening. It is easy to do On Tue, Sep 23, 2014 at 11:28 PM, m35 notifications@github.com wrote:
Jay Asbury |
![:neckbeard: :neckbeard:](https://github.githubassets.com/images/icons/emoji/neckbeard.png)
At least, IMO, it should not show the "detached head" warning while in a rebase. |
…without a branch Adds an option to disable the prompt/warning that suggests checking out or creating a branch before committing when no branch is currently checked out (headless state). Implements feature gitextensions#2460. * Adds news persistent bool key "DontConfirmCommitIfNoBranch" * Adds new check box on Settings -> Advanced -> Confirmation page This setting is added below "Amend last commit" since both those confirmations can happen at the same time.
…without a branch Adds an option to disable the prompt/warning that suggests checking out or creating a branch before committing when no branch is currently checked out (headless state). Implements feature gitextensions#2460. * Adds news persistent bool key "DontConfirmCommitIfNoBranch" * Adds new check box on Settings -> Advanced -> Confirmation page This setting is added below "Amend last commit" since both those confirmations can happen at the same time.
…without a branch Adds an option to disable the prompt/warning that suggests checking out or creating a branch before committing when no branch is currently checked out (headless state). Implements feature gitextensions#2460. * Adds news persistent bool key "DontConfirmCommitIfNoBranch" * Adds new check box on Settings -> Advanced -> Confirmation page This setting is added below "Amend last commit" since both those confirmations can happen at the same time.
…without a branch Adds an option to disable the prompt/warning that suggests checking out or creating a branch before committing when no branch is currently checked out (headless state). Implements feature gitextensions#2460. * Adds news persistent bool key "DontConfirmCommitIfNoBranch" * Adds new check box on Settings -> Advanced -> Confirmation page This setting is added below "Amend last commit" since both those confirmations can happen at the same time.
…without a branch Adds an option to disable the prompt/warning that suggests checking out or creating a branch before committing when no branch is currently checked out (headless state). Implements feature gitextensions#2460. * Adds news persistent bool key "DontConfirmCommitIfNoBranch" * Adds new check box on Settings -> Advanced -> Confirmation page This setting is added below "Amend last commit" since both those confirmations can happen at the same time.
…without a branch Adds an option to disable the prompt/warning that suggests checking out or creating a branch before committing when no branch is currently checked out (headless state). Implements feature gitextensions#2460. * Adds news persistent bool key "DontConfirmCommitIfNoBranch" * Adds new check box on Settings -> Advanced -> Confirmation page This setting is added below "Amend last commit" since both those confirmations can happen at the same time.
…without a branch Adds an option to disable the prompt/warning that suggests checking out or creating a branch before committing when no branch is currently checked out (headless state). Implements feature gitextensions#2460. * Adds news persistent bool key "DontConfirmCommitIfNoBranch" * Adds new check box on Settings -> Advanced -> Confirmation page This setting is added below "Amend last commit" since both those confirmations can happen at the same time.
…without a branch Adds an option to disable the prompt/warning that suggests checking out or creating a branch before committing when no branch is currently checked out (headless state). Implements feature gitextensions#2460. * Adds news persistent bool key "DontConfirmCommitIfNoBranch" * Adds new check box on Settings -> Advanced -> Confirmation page This setting is added below "Amend last commit" since both those confirmations can happen at the same time.
But why you want to commit in detached head state? |
Exactly. I would want to know.
…On Sat, Apr 8, 2017, 3:01 PM Arkady Shapkin ***@***.***> wrote:
Indeed, that is the reason for the existing dialog. And the reason to have
the option to disable the dialog is because you're not a git novice, thus
well aware of the implications of detached head state and don't need the
incessant reminder.
But why you want to commit in detached head state?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2460 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADdhsZL3jtnQe6WfX8_KYSrfC79t9wVqks5rt9mggaJpZM4CkYsi>
.
|
I can think of one scenario where you'd be changing the commits during an
interactive rebase... Since that can be tricky I try to avoid it and in the
scenarios where I can't I'm ok with clicking the "yes, I want to commit in
a headless state"-button.
What is somewhat dangerous, in that scenario, is that it also suggests to
pull or merge or something similar. But since I'm not doing that scenario
casually anyway I'm not inclined to push the wrong button.
…On Sat, Apr 8, 2017, 21:03 Jay Asbury ***@***.***> wrote:
Exactly. I would want to know.
On Sat, Apr 8, 2017, 3:01 PM Arkady Shapkin ***@***.***>
wrote:
> Indeed, that is the reason for the existing dialog. And the reason to
have
> the option to disable the dialog is because you're not a git novice, thus
> well aware of the implications of detached head state and don't need the
> incessant reminder.
>
> But why you want to commit in detached head state?
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <
#2460 (comment)
>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/ADdhsZL3jtnQe6WfX8_KYSrfC79t9wVqks5rt9mggaJpZM4CkYsi
>
> .
>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2460 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABser2b2XweGOdMJjYtdzZ33ZSO72-pmks5rt9oSgaJpZM4CkYsi>
.
|
We just need to disable this dialog when repository in |
![:neckbeard: :neckbeard:](https://github.githubassets.com/images/icons/emoji/neckbeard.png)
Please add an option to disable the dialog asking to checkout/create a branch when in detached head state.
The text was updated successfully, but these errors were encountered: