Skip to content

Cancel or edit changes from Sverchok fork #4870

Answered by portnov
rendetto asked this question in Q&A
Discussion options

You must be logged in to vote

You mean you want to edit commit descriptions?
If you need to edit the description of only the last commit, you can do git commit --ammend. Text editor will open and let you to edit your message.
If you need to edit a number of messages in your branch, you can do git rebase --interactive <STARTING_POINT>, for example git rebase --interactive master, if you started your branch from master. Text editor will open with a list of commits you've made from that starting point, prepended with the word "pick". This is actually a list of commands, to apply changes in this order. You can change the word "pick" to "reword", where you want to edit the message. After you close text editor, it will open…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rendetto
Comment options

Answer selected by rendetto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants