![]() # Note that empty commits are commented out Merge ConflictsĪ merge conflict is when you make commits on separate branches that alter the same line in conflicting ways. # However, if you remove everything, the rebase will be aborted. # If you remove a line here THAT COMMIT WILL BE LOST. # These lines can be re-ordered they are executed from top to bottom. # x, exec = run command (the rest of the line) using shell # f, fixup = like "squash", but discard this commit's log message thus doesn't stop. # s, squash = use commit, meld into previous commit and stop to edit the commit message. # e, edit = use commit, but stop to amend or add commit. # r, reword = use commit, but stop to edit the commit message. You can skip over the conflicted commit by entering git rebase -skip, stop rebasing by running git rebase -abort in your console. Then use git add followed by git rebase -continue. One way is to open the files in a text editor and delete the parts of the code you do not want.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |