Also, a file with too many conflicts is usually unreadable and very hard to deal with. Using this method, one might mess the file up and leave some of the aforementioned lines behind. Then save the file and stage it using git: git add auto-assign.yml One could simply use any text editor to remove the three following lines: > Conflicting commitĪnd also compromise between the two versions. So, now, how to resolve it? Edit the Text In a nutshell, this part of the code shows two versions of the file on top of each other. Then she rebased her branch onto master, and this conflict happened. The other party just added a single line of comment saying “Nothing is here yet”, and committed it, setting “Conflicting commit” as the commit message. One of them created some config and merged them into the master branch. So, this is a file that two parties edited. So, what does a conflict look like? Let’s take a look at an example: > Conflicting commit
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |