<?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: Tiago Teixeira</title>
    <description>The latest articles on DEV Community by Tiago Teixeira (@tiagoteixeira).</description>
    <link>https://dev.to/tiagoteixeira</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%2F1275249%2F441cb0d5-e6ba-489b-802d-4397cae61139.jpg</url>
      <title>DEV Community: Tiago Teixeira</title>
      <link>https://dev.to/tiagoteixeira</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tiagoteixeira"/>
    <language>en</language>
    <item>
      <title>10 Git Commands Every Developer Should Know</title>
      <dc:creator>Tiago Teixeira</dc:creator>
      <pubDate>Fri, 17 Jan 2025 13:24:13 +0000</pubDate>
      <link>https://dev.to/tiagoteixeira/10-git-commands-every-developer-should-know-412g</link>
      <guid>https://dev.to/tiagoteixeira/10-git-commands-every-developer-should-know-412g</guid>
      <description>&lt;p&gt;Mastering these core commands can significantly enhance your workflow:  &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;code&gt;git init&lt;/code&gt;&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Initializes a new Git repository in your project directory. Start tracking your code effortlessly.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;code&gt;git clone &amp;lt;repository-url&amp;gt;&lt;/code&gt;&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Copies an existing repository to your local machine. Perfect for working on shared projects.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;code&gt;git status&lt;/code&gt;&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Displays the state of your working directory and staging area, helping you track changes.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;code&gt;git add &amp;lt;file&amp;gt;&lt;/code&gt;&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Stages changes to be committed. Use &lt;code&gt;git add .&lt;/code&gt; to stage all changes in the directory.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;code&gt;git commit -m "message"&lt;/code&gt;&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Records changes to the repository with a descriptive message. This is your version snapshot.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;code&gt;git branch&lt;/code&gt;&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Lists all branches in your repository. Add &lt;code&gt;-a&lt;/code&gt; to include remote branches.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;code&gt;git checkout &amp;lt;branch-name&amp;gt;&lt;/code&gt;&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Switches to a different branch. Use &lt;code&gt;-b&lt;/code&gt; to create and switch to a new branch simultaneously.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;code&gt;git merge &amp;lt;branch-name&amp;gt;&lt;/code&gt;&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Integrates changes from another branch into the current one. Resolve conflicts as needed.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;code&gt;git pull&lt;/code&gt;&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Fetches updates from a remote repository and merges them into your current branch.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;code&gt;git push&lt;/code&gt;&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Sends your local changes to the remote repository. Keep your work synced with your team.  &lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>git</category>
      <category>github</category>
      <category>gitlab</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
