<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How can I update forked repository on GitHub? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-can-I-update-forked-repository-on-GitHub/m-p/81238#M51217</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I forked a project, applied several fixes and created a pull request which was accepted. A few days later, another change was made by another contributor. So my fork doesn't contain that change.&lt;/P&gt;&lt;P&gt;How can I get that change into my fork? Do I need to delete and re-create my fork when I have further changes to contribute? Or is there an update button?&lt;/P&gt;</description>
    <pubDate>Mon, 14 Feb 2022 12:13:12 GMT</pubDate>
    <dc:creator>EdwardSMaTeresa</dc:creator>
    <dc:date>2022-02-14T12:13:12Z</dc:date>
    <item>
      <title>How can I update forked repository on GitHub?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-can-I-update-forked-repository-on-GitHub/m-p/81238#M51217</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I forked a project, applied several fixes and created a pull request which was accepted. A few days later, another change was made by another contributor. So my fork doesn't contain that change.&lt;/P&gt;&lt;P&gt;How can I get that change into my fork? Do I need to delete and re-create my fork when I have further changes to contribute? Or is there an update button?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 12:13:12 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-can-I-update-forked-repository-on-GitHub/m-p/81238#M51217</guid>
      <dc:creator>EdwardSMaTeresa</dc:creator>
      <dc:date>2022-02-14T12:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: How can I update forked repository on GitHub?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-can-I-update-forked-repository-on-GitHub/m-p/81249#M51225</link>
      <description>&lt;P class=""&gt;The "tabula rasa" method.&lt;/P&gt;&lt;OL class=""&gt;&lt;LI&gt;&lt;P class=""&gt;Keep around the SHA of the "one commit" (or two, three, ...) which are your code and you'd like to submit to the original repo: go to your branch, do a git log and find it / keep it copied somewhere.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;find the git url for the original upstream codebase; the one you forked from, not your github clone. say it's git://git.github.com/foo/bar&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;git remote add upstream git://git.github.com/foo/bar&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;git fetch&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;git checkout master&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;git reset --hard upstream/master (this makes local "master" be same as upstream's master)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;git checkout -b your-snazzy-branch-name&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;git cherry-pick SHA_OF_YOUR_COMMITS&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;git push origin your-snazzy-branch-name&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;open a pull request for your-snazzy-branch-name&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 15 Feb 2022 04:45:30 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-can-I-update-forked-repository-on-GitHub/m-p/81249#M51225</guid>
      <dc:creator>TuqueroIMKJerna</dc:creator>
      <dc:date>2022-02-15T04:45:30Z</dc:date>
    </item>
  </channel>
</rss>

