Add support for editing commit messages#15
Open
shonenada wants to merge 3 commits intom1guelpf:mainfrom
Open
Conversation
This commit adds support for editing the commit message before committing. The user is asked if they want to edit the commit message. If they answer `edit`, the commit message is opened in the editor specified by the EDITOR environment variable. If the user answers `no`, the commit is aborted. If the user answers `yes`, the commit is performed with the edited commit message. If the user answers anything else, the commit is performed with the original commit message.
This commit adds support for the EDITOR env var. If the EDITOR env var is set, it will be used as the editor to edit the commit message. If it is not set, vi will be used.
This commit adds support for editing commit messages. The user can now edit the commit message before it is committed. This is useful for when the user wants to add more information to the commit message. Add a new feature This is a new feature that does something. It is a good feature.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add support for editing commit messages