Git Squashing Commits: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Git Operations =Overview=") |
|||
Line 2: | Line 2: | ||
* [[Git Operations#Procedures|Git Operations]] | * [[Git Operations#Procedures|Git Operations]] | ||
* [[Git_Concepts#Rewriting_History|Rewriting History]] | |||
=Procedure= | |||
Upon applying repository changes, the Git client will give us a change to review and modify the comment associated with the commit. This will be done interactively in the editor: | |||
<syntaxhighlight lang='text'> | |||
# This is a combination of 2 commits. | |||
# This is the 1st commit message: | |||
Existing comment for commit 1 | |||
# This is the commit message #2: | |||
Existing comment for commit 2 | |||
# Please enter the commit message for your changes. Lines starting | |||
# with '#' will be ignored, and an empty message aborts the commit. | |||
</syntaxhighlight> | |||
=Overview= | =Overview= |
Revision as of 22:29, 30 July 2019
Internal
Procedure
Upon applying repository changes, the Git client will give us a change to review and modify the comment associated with the commit. This will be done interactively in the editor:
# This is a combination of 2 commits.
# This is the 1st commit message:
Existing comment for commit 1
# This is the commit message #2:
Existing comment for commit 2
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.