<div dir="ltr"><b><u>Pairing Session Details(22nd July)</u></b><div><br></div><div><font face="courier new, monospace">I was getting few errors in my gerrit patch submitted sometime back(was showing "unable to merge"-Bug:63104).Learnt how to resolve conflict and how to integrate changes from master to branch using git rebase. Steps were as below:</font><div>
<ul><li><font face="courier new, monospace">Checkout code from gerrit through git review -d Change Id</font></li><li><font face="courier new, monospace">Do <i>git checkout new_branch</i> and <i>git rebase master</i></font></li>
<li><font face="courier new, monospace">If there is any conflicting file message then we need to resolve the conflict first manually and then add the file to staging.</font></li><li><font face="courier new, monospace">Finally we can do git rebase --continue </font></li>
</ul><div><font face="courier new, monospace">Learnt how to resolve conflict from RubyMine if we want to ignore our own changes and to keep the other's change.You can just do a right click on the conflicting file and under Git->choose "<span class="">Accept Theirs " option</span> - Through this IntelliJ IDEA will overwrite our changes.</font></div>
<div><br></div><div><font face="courier new, monospace">Learnt more about Continuous Integration and how we can see the screencasts for failing tests on Sauce Labs.This helps us in exploring the issue further.</font></div>
<div><font face="courier new, monospace">Learnt that whenever we commit code to Gerrit there are some jobs that run automatically to check code committed, for any syntax errors etc.</font></div><div><font face="courier new, monospace">Like the one: </font><a href="https://integration.wikimedia.org/ci/job/mwext-VisualEditor-lint/10646/console" target="_blank"><font face="courier new, monospace">https://integration.wikimedia.org/ci/job/mwext-VisualEditor-lint/10646/console</font><br>
</a> </div></div></div><div><font face="courier new, monospace">Hope this covers everything.</font></div><div><font face="courier new, monospace">Thanks Zeljko for your time.Looking forward to the next session.</font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">Kind Regards,</font></div><div><font face="courier new, monospace">Jagori</font></div></div>