I was merging master branch into new branch, there are some .rej files are created.
I took a pool of master branch into new branch I got conflicts which I've resolved but there are some .rej files.
Can you please help me to know about the .rej files and what am I suppose to do with those files.
.rej
files are rejected files (usually hunks patches but not only).
When ever you get those files after merge you will manually have to edit them, fix them and then apply them back.
You can read here some more about it and what is it
.rej
file
diff a.txt (rejected hunks) ....
Fix it manually and then apply the .rej
files like a regular patch.
manually merge the change from *.rej
into the required file and remove the *.rej
file.
Another very usefully article addressing this can be found here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With