<?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: Murillo Pinheiro de Oliveria</title>
    <description>The latest articles on DEV Community by Murillo Pinheiro de Oliveria (@muriwolf).</description>
    <link>https://dev.to/muriwolf</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%2F1595474%2F5bccf81b-59b7-458f-86d5-db12ab369a97.jpeg</url>
      <title>DEV Community: Murillo Pinheiro de Oliveria</title>
      <link>https://dev.to/muriwolf</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/muriwolf"/>
    <language>en</language>
    <item>
      <title>Common Workflows with Git</title>
      <dc:creator>Murillo Pinheiro de Oliveria</dc:creator>
      <pubDate>Sun, 19 Jan 2025 15:34:30 +0000</pubDate>
      <link>https://dev.to/muriwolf/commom-workflows-with-git-2fbj</link>
      <guid>https://dev.to/muriwolf/commom-workflows-with-git-2fbj</guid>
      <description>&lt;h2&gt;
  
  
  Intro
&lt;/h2&gt;

&lt;p&gt;There are some ways to work with other people using Git, below I demonstrate a few.&lt;/p&gt;

&lt;h2&gt;
  
  
  Centralized Workflow
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqvwhh4ozdde82sax6mzn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqvwhh4ozdde82sax6mzn.png" alt="Centralized Workflow" width="800" height="299"&gt;&lt;/a&gt;&lt;br&gt;
The most basic flow. The developers use a shared repository to keep the code. If dev A updates the repository, then others dev can't without pulling it. Let's say dev B tried to update, an error will appear to him, and he will only be abble to push after he get the new information with the pull command.&lt;/p&gt;

&lt;h2&gt;
  
  
  Integration-Manager Workflow
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fssamg8xf2lq1qswgxrm0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fssamg8xf2lq1qswgxrm0.png" alt="Integration-Manager Workflow&amp;lt;br&amp;gt;
" width="800" height="310"&gt;&lt;/a&gt;&lt;br&gt;
This one works great on plataforms such as Github, where is easy to created and share repositories.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The maintainer pushes to the public repository;&lt;/li&gt;
&lt;li&gt;The contributor clones to its own repository;&lt;/li&gt;
&lt;li&gt;The contributor pushes to its public repository;&lt;/li&gt;
&lt;li&gt;The contributor sends an email or something communicating the alterations;&lt;/li&gt;
&lt;li&gt;The mantainer adds the contributor's repository as a remote and merge locally;&lt;/li&gt;
&lt;li&gt;The mantainer pushes to the main repository.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Dictator and Lieutenants Workflow
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq583r2kmnu40n82admmb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq583r2kmnu40n82admmb.png" alt="Dictator and Lieutenants Workflow" width="800" height="423"&gt;&lt;/a&gt;&lt;br&gt;
This one is less common and it's better for really big projects. It's used, for example, on Linux project.&lt;br&gt;
Off-topic info: Lieutenants comes from french: lieu (place) + tenant (holder).&lt;/p&gt;

&lt;h2&gt;
  
  
  Ending
&lt;/h2&gt;

&lt;p&gt;I leaned this content in the Pro Git Book, which you can find here: &lt;a href="https://git-scm.com/book/en/v2" rel="noopener noreferrer"&gt;https://git-scm.com/book/en/v2&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>beginners</category>
      <category>git</category>
    </item>
  </channel>
</rss>
