<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Workflow Best Practices on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tags/workflow-best-practices/</link><description>Recent content in Workflow Best Practices on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 23 Dec 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/tags/workflow-best-practices/index.xml" rel="self" type="application/rss+xml"/><item><title>Git Cheatsheet - Complete Reference 2025</title><link>https://ai-blog.noorshomelab.dev/cheatsheets/git-cheatsheet/</link><pubDate>Tue, 23 Dec 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/cheatsheets/git-cheatsheet/</guid><description>&lt;p&gt;This cheatsheet provides a comprehensive, quick-reference guide to Git, covering essential commands, advanced operations, workflow best practices, and troubleshooting tips. It&amp;rsquo;s designed for developers needing fast, accurate information for real-world development scenarios as of December 2025.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="quick-reference-most-used-commands"&gt;Quick Reference: Most Used Commands&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="text-align: left"&gt;Command&lt;/th&gt;
&lt;th style="text-align: left"&gt;Description&lt;/th&gt;
&lt;th style="text-align: left"&gt;Example&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git init&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Initializes a new Git repository.&lt;/td&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git init&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git clone &amp;lt;url&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Clones an existing repository.&lt;/td&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git clone https://github.com/user/repo.git&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git add &amp;lt;file&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Stages changes for the next commit.&lt;/td&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git add index.html&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git add .&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Stages all changes in the current directory.&lt;/td&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git add .&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git commit -m &amp;quot;msg&amp;quot;&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Records staged changes to the repository.&lt;/td&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git commit -m &amp;quot;Add header component&amp;quot;&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git status&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Shows the working tree status.&lt;/td&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git status&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git log&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Displays commit history.&lt;/td&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git log --oneline --graph&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git branch&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Lists, creates, or deletes branches.&lt;/td&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git branch feature/new-feature&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git checkout &amp;lt;branch&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Switches to a specified branch.&lt;/td&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git checkout develop&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git checkout -b &amp;lt;new-branch&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Creates and switches to a new branch.&lt;/td&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git checkout -b bugfix/login-issue&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git merge &amp;lt;branch&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Integrates changes from one branch into another.&lt;/td&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git merge feature/new-feature&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git push &amp;lt;remote&amp;gt; &amp;lt;branch&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Uploads local branch commits to remote.&lt;/td&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git push origin main&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git pull &amp;lt;remote&amp;gt; &amp;lt;branch&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Fetches and integrates remote changes.&lt;/td&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git pull origin main&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git remote -v&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Lists configured remote repositories.&lt;/td&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git remote -v&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;hr&gt;
&lt;h2 id="getting-started--configuration"&gt;Getting Started &amp;amp; Configuration&lt;/h2&gt;
&lt;h3 id="setup"&gt;Setup&lt;/h3&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="text-align: left"&gt;Command&lt;/th&gt;
&lt;th style="text-align: left"&gt;Description&lt;/th&gt;
&lt;th style="text-align: left"&gt;Example&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git init&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Initializes a new Git repository in the current directory.&lt;/td&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git init&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git clone &amp;lt;url&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;td style="text-align: left"&gt;Clones an existing repository from a URL into a new directory.&lt;/td&gt;
&lt;td style="text-align: left"&gt;&lt;code&gt;git clone https://github.com/octocat/Spoon-Knife.git&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id="basic-configuration"&gt;Basic Configuration&lt;/h3&gt;
&lt;p&gt;These settings are global unless &lt;code&gt;--local&lt;/code&gt; is specified.&lt;/p&gt;</description></item></channel></rss>