<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Oseias Nascimento</title>
    <description>The latest articles on DEV Community by Oseias Nascimento (@oseiasal).</description>
    <link>https://dev.to/oseiasal</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1294086%2Ff6fd8647-8680-4cbc-b9d8-960a1a1695a7.jpeg</url>
      <title>DEV Community: Oseias Nascimento</title>
      <link>https://dev.to/oseiasal</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/oseiasal"/>
    <language>en</language>
    <item>
      <title>Retornando um arquivo para a versão anterior</title>
      <dc:creator>Oseias Nascimento</dc:creator>
      <pubDate>Tue, 05 Mar 2024 18:20:59 +0000</pubDate>
      <link>https://dev.to/oseiasal/retornando-um-arquivo-para-a-versao-anterior-f70</link>
      <guid>https://dev.to/oseiasal/retornando-um-arquivo-para-a-versao-anterior-f70</guid>
      <description>&lt;p&gt;Retornando entre &lt;em&gt;branchs&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;git checkout dev -- caminho/relativo/para/o/arquivo.file&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Retornando entre &lt;em&gt;commits&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Primeiro &lt;code&gt;git log -- relative_path\file.name&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Verificar os commits envolvidos nesse arquivo e pegar o &lt;em&gt;hash&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;Fazer checkout do arquivo &lt;code&gt;git checkout hashid -- file_with_path&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>git</category>
      <category>gitflow</category>
      <category>github</category>
    </item>
  </channel>
</rss>
