You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Supposing I run git commit and write a longish message (e.g. a couple of paragraphs in the body) using my editor of choice. There's an error though, I've left a trailing period in the first line.
Continue with commit anyways (this keeps the current commit message)? [y/n]
If I answer 'n' to that, next time I commit I've lost all my original text. If someone chooses n, could you print the full message they entered underneath so they can copy and paste it back into the editor?
(Unless you think the correct action is to commit anyway and then amend it.)
The text was updated successfully, but these errors were encountered:
Supposing I run
git commit
and write a longish message (e.g. a couple of paragraphs in the body) using my editor of choice. There's an error though, I've left a trailing period in the first line.Continue with commit anyways (this keeps the current commit message)? [y/n]
If I answer 'n' to that, next time I commit I've lost all my original text. If someone chooses
n
, could you print the full message they entered underneath so they can copy and paste it back into the editor?(Unless you think the correct action is to commit anyway and then amend it.)
The text was updated successfully, but these errors were encountered: