I updated some classes for someone else's project and made a pull request. But there is a problem in the conversation: "This is a request for a request that contains a request for a conflict." How to solve it? And the author also writes in conversation: "Please merge from master first and I’ll accept the pull-request".
2 answers
You need to push the author's master branch, and kill the conflicts that have appeared. After that, make a merge commit and suggest a pull request. I'll give an example for tortoise git.
- Right click on the project directory>
pull - After the pool passes, a message appears stating that conflicts have been found, click the
show changesbutton and review all the files marked in red. - After selecting the "red" file, open it, a window divided into three parts of
theirs,mineand final will appear. Find the red lines, and select the solution solution fortheirs- leave this line as the author,mine- leave your line. After completion, clickmark as resolved, and go through all the other files. - When done, open the project again and make sure everything works.
commitand push.- Send
pull requestagain.
- I honestly do not understand. :) - compl
- did as requested - Alexey
|
Actually, do what they ask of you:
- go to the folder where you have your branch;
- remove new changes from the wizard;
- conflicts, if any, cut open;
- commit, push
- one@compl If you do not understand something specific, then say what it is. If you do not understand everything, then first read the instructions for using git from and to, and if you have questions, say. - Athari
|