<div dir="ltr"><div>All,</div><div><br></div><div>For those who have not yet noticed, there is a cool new feature in GitHub which helps you keep your fork branches up-to-date with the authoritative repository. The "Fetch upstream" dropdown (found under the big green "Code" button) allows you to either "Compare" (compare with upstream) or "Fetch and merge" (fetch upstream and merge into your fork) or "Open pull request". Below is a screenshot showing the popup after clicking on the "Fetch upstream" button in my fork of global-workflow. I already used the button to sync my fork's develop branch so there isn't anything to do anymore so the buttons are now disabled:</div><div><br></div><img src="cid:ii_kovn2ic60" alt="image.png" width="524" height="295"><div><br><div>It also works for branches other than the main develop branch. Here I show that my fork's operations branch is behind the auth repo copy and I can hit the green "Fetch and merge" button to update it automatically:<br></div><div><br></div><div><img src="cid:ii_kovn9qmb1" alt="image.png" width="524" height="295"><br><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font color="#000000"><br></font></div><div><font color="#000000">If I am on a feature branch that doesn't exist in the auth repo then that "Fetch upstream" dropdown gives me the option to open a pull request for my branch and notes that conflicts exist (I will have to perform a sync merge manually first to resolve conflicts):</font></div><div><font color="#000000"><br></font></div><div><img src="cid:ii_kovnbdwi2" alt="image.png" width="524" height="295"><br></div><div dir="ltr"><font color="#000000"><br></font></div><div dir="ltr">It looks like conflicts will still have to be resolved manually but conflict-free merges can now be completed automatically with this feature.
So save yourself some time and try out this new feature! :)<font color="#000000"><br></font></div><div dir="ltr"><font color="#000000"><br></font></div><div dir="ltr"><font color="#000000">Kate Friedman (formerly Howard) (she/her)<br>NOAA/NWS/NCEP/EMC Engineering and Implementation Branch</font><br></div></div></div></div></div></div></div></div></div></div></div></div>