<?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: Abhay Bhagat</title>
    <description>The latest articles on DEV Community by Abhay Bhagat (@abhay_bhagat_358).</description>
    <link>https://dev.to/abhay_bhagat_358</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%2F3254055%2Fbd4e4711-1f61-42e7-bce8-2acd50af7b1b.png</url>
      <title>DEV Community: Abhay Bhagat</title>
      <link>https://dev.to/abhay_bhagat_358</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abhay_bhagat_358"/>
    <language>en</language>
    <item>
      <title>Git Branching</title>
      <dc:creator>Abhay Bhagat</dc:creator>
      <pubDate>Mon, 16 Jun 2025 07:32:49 +0000</pubDate>
      <link>https://dev.to/abhay_bhagat_358/git-branching-d9h</link>
      <guid>https://dev.to/abhay_bhagat_358/git-branching-d9h</guid>
      <description>&lt;p&gt;🌿 Git Branching Simplified: A Developer’s Guide&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Branching is the essence of collaboration in Git. Master it, and you master the workflow.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Whether you're working solo or as part of a team, Git branching allows you to manage features, fix bugs, and experiment without disturbing your main codebase. Let’s dive deep into what Git branches are, how to use them, and best practices to follow.&lt;/p&gt;

&lt;p&gt;📌 What is a Git Branch?&lt;/p&gt;

&lt;p&gt;A branch in Git is simply a lightweight movable pointer to a commit. It allows you to diverge from the main code and work in isolation until you’re ready to merge.&lt;/p&gt;

&lt;p&gt;Think of the main branch (main or master) as the stable highway, and branches as the side roads where you explore and build new features.&lt;/p&gt;

&lt;p&gt;🚀 Why Use Branches?&lt;/p&gt;

&lt;p&gt;🧪 Experiment with new features&lt;/p&gt;

&lt;p&gt;🛠 Fix bugs without touching production code&lt;/p&gt;

&lt;p&gt;🧑‍💻 Collaborate with teammates&lt;/p&gt;

&lt;p&gt;🧹 Keep your main code clean and deployable&lt;/p&gt;

&lt;p&gt;⚙️ Basic Branching Commands&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create a New Branch&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;git branch feature/login&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Switch to the Branch&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;git checkout feature/login&lt;/p&gt;

&lt;h1&gt;
  
  
  or in modern Git
&lt;/h1&gt;

&lt;p&gt;git switch feature/login&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create and Switch in One Step&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;git checkout -b feature/login&lt;/p&gt;

&lt;h1&gt;
  
  
  or
&lt;/h1&gt;

&lt;p&gt;git switch -c feature/login&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;See All Branches&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;git branch&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Merge a Branch into Main&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;git checkout main&lt;br&gt;
git merge feature/login&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Delete a Branch&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;git branch -d feature/login&lt;/p&gt;

&lt;p&gt;🔄 A Simple Workflow&lt;/p&gt;

&lt;p&gt;git checkout -b feature/add-user-auth&lt;/p&gt;

&lt;h1&gt;
  
  
  do your work and commit
&lt;/h1&gt;

&lt;p&gt;git add .&lt;br&gt;
git commit -m "Add user authentication"&lt;br&gt;
git checkout main&lt;br&gt;
git merge feature/add-user-auth&lt;br&gt;
git branch -d feature/add-user-auth&lt;/p&gt;

&lt;p&gt;🌟 Pro Tips&lt;/p&gt;

&lt;p&gt;✅ Always pull the latest changes before creating a new branch.&lt;/p&gt;

&lt;p&gt;📌 Use descriptive branch names like bug/fix-login or feature/signup-ui.&lt;/p&gt;

&lt;p&gt;⛔ Don’t work directly on the main branch.&lt;/p&gt;

&lt;p&gt;🧹 Clean up merged branches to keep the repo tidy.&lt;/p&gt;

&lt;p&gt;🔄 Git Branching Model (Popular Workflows)&lt;/p&gt;

&lt;p&gt;➤ Git Flow&lt;/p&gt;

&lt;p&gt;main: production-ready code&lt;/p&gt;

&lt;p&gt;develop: integration branch&lt;/p&gt;

&lt;p&gt;feature/*: new features&lt;/p&gt;

&lt;p&gt;release/*: pre-release&lt;/p&gt;

&lt;p&gt;hotfix/*: emergency fixes&lt;/p&gt;

&lt;p&gt;➤ GitHub Flow&lt;/p&gt;

&lt;p&gt;Simple, ideal for continuous delivery&lt;/p&gt;

&lt;p&gt;main + feature branches&lt;/p&gt;

&lt;p&gt;Pull Requests (PR) for merging&lt;/p&gt;

&lt;p&gt;✅ Final Thoughts&lt;/p&gt;

&lt;p&gt;Git branches are your safety net and workspace. Mastering branching means smoother collaboration, less stress during merges, and more organized development.&lt;/p&gt;

&lt;p&gt;Whether you’re fixing bugs, adding features, or just trying new ideas—branch it out.&lt;/p&gt;

&lt;p&gt;&lt;a class="mentioned-user" href="https://dev.to/devsyncin"&gt;@devsyncin&lt;/a&gt; &lt;/p&gt;

</description>
      <category>webdev</category>
      <category>git</category>
      <category>devsync</category>
    </item>
    <item>
      <title>Getting Started with CSS</title>
      <dc:creator>Abhay Bhagat</dc:creator>
      <pubDate>Fri, 13 Jun 2025 08:03:26 +0000</pubDate>
      <link>https://dev.to/abhay_bhagat_358/getting-started-with-css-2lig</link>
      <guid>https://dev.to/abhay_bhagat_358/getting-started-with-css-2lig</guid>
      <description>&lt;p&gt;🧱 The Problem with &lt;/p&gt;

&lt;p&gt;Browsers render file inputs differently, and most won’t let you change much about their appearance. You can’t easily control the button text, style the input directly, or make it match your theme out of the box.&lt;/p&gt;

&lt;p&gt;So what's the workaround? Hide the default input and trigger it with a styled button or label.&lt;/p&gt;




&lt;p&gt;✅ HTML Structure&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;📁 Choose a file
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p id="file-name"&gt;No file chosen&lt;/p&gt;

&lt;p&gt;What’s going on here?&lt;/p&gt;

&lt;p&gt;We hide the default file input with hidden.&lt;/p&gt;

&lt;p&gt;The  is styled to look like a button and is linked to the input via the for attribute.&lt;/p&gt;

&lt;p&gt;A &lt;/p&gt;
&lt;p&gt; element displays the selected file name using JavaScript.&lt;/p&gt;




&lt;p&gt;🎨 CSS Styling&lt;/p&gt;

&lt;p&gt;Here’s some CSS to make it look modern and clean:&lt;/p&gt;

&lt;p&gt;.upload-container {&lt;br&gt;
  font-family: sans-serif;&lt;br&gt;
  text-align: center;&lt;br&gt;
  margin: 2rem;&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;.upload-label {&lt;br&gt;
  display: inline-block;&lt;br&gt;
  padding: 0.75rem 1.5rem;&lt;br&gt;
  background-color: #4f46e5;&lt;br&gt;
  color: white;&lt;br&gt;
  border-radius: 8px;&lt;br&gt;
  cursor: pointer;&lt;br&gt;
  transition: background 0.3s ease;&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;.upload-label:hover {&lt;br&gt;
  background-color: #4338ca;&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;.file-name {&lt;br&gt;
  margin-top: 1rem;&lt;br&gt;
  font-size: 0.9rem;&lt;br&gt;
  color: #555;&lt;br&gt;
}&lt;/p&gt;




&lt;p&gt;💡 Add a Touch of JavaScript&lt;/p&gt;

&lt;p&gt;To display the selected file name, use this simple JS snippet:&lt;/p&gt;

&lt;p&gt;const input = document.getElementById("file-upload");&lt;br&gt;
  const fileName = document.getElementById("file-name");&lt;/p&gt;

&lt;p&gt;input.addEventListener("change", () =&amp;gt; {&lt;br&gt;
    fileName.textContent = input.files.length&lt;br&gt;
      ? input.files[0].name&lt;br&gt;
      : "No file chosen";&lt;br&gt;
  });&lt;/p&gt;




&lt;p&gt;🧪 Demo in Action&lt;/p&gt;

&lt;p&gt;Here’s what the result looks like:&lt;/p&gt;

&lt;p&gt;👉 A stylish button&lt;br&gt;
📎 A file name preview&lt;br&gt;
💯 Pure HTML, CSS, and a dash of JS&lt;/p&gt;




&lt;p&gt;🚀 Tips for Production&lt;/p&gt;

&lt;p&gt;Add accept="image/*" to limit file types if needed.&lt;/p&gt;

&lt;p&gt;You can enhance accessibility with ARIA attributes.&lt;/p&gt;

&lt;p&gt;Consider drag-and-drop for a more advanced UX (save that for another post 😉).&lt;/p&gt;

&lt;p&gt;&lt;a class="mentioned-user" href="https://dev.to/devsyncin"&gt;@devsyncin&lt;/a&gt; &lt;/p&gt;




</description>
      <category>webdev</category>
      <category>css</category>
      <category>devsync</category>
    </item>
    <item>
      <title>Getting started with HTML (HyperText Markup Language)</title>
      <dc:creator>Abhay Bhagat</dc:creator>
      <pubDate>Fri, 13 Jun 2025 07:23:11 +0000</pubDate>
      <link>https://dev.to/abhay_bhagat_358/getting-started-with-html-hypertext-markup-language-b1i</link>
      <guid>https://dev.to/abhay_bhagat_358/getting-started-with-html-hypertext-markup-language-b1i</guid>
      <description>&lt;h1&gt;
  
  
  HTML
&lt;/h1&gt;

&lt;p&gt;🌐 &lt;strong&gt;&lt;em&gt;HTML&lt;/em&gt;&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;🧱 What is HTML?• HTML (HyperText Markup Language) is the standard language for creating web pages.• It structures content using elements and tags.&lt;/p&gt;

&lt;p&gt;🏗️ &lt;strong&gt;&lt;em&gt;Basic Structure of an HTML&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;Page&lt;span class="cp"&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;&lt;span class="nt"&gt;&amp;lt;html&amp;gt;&lt;/span&gt;  &lt;span class="nt"&gt;&amp;lt;head&amp;gt;&lt;/span&gt;    &lt;span class="nt"&gt;&amp;lt;title&amp;gt;&lt;/span&gt;Page Title&lt;span class="nt"&gt;&amp;lt;/title&amp;gt;&lt;/span&gt;  &lt;span class="nt"&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;  &lt;span class="nt"&gt;&amp;lt;body&amp;gt;&lt;/span&gt;    &lt;span class="nt"&gt;&amp;lt;h1&amp;gt;&lt;/span&gt;This is a Heading&lt;span class="nt"&gt;&amp;lt;/h1&amp;gt;&lt;/span&gt;    &lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;This is a paragraph.&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;  &lt;span class="nt"&gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🖼️ Example: Image and Link&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;a&lt;/span&gt; &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;"https://example.com"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Visit Example&lt;span class="nt"&gt;&amp;lt;/a&amp;gt;&lt;/span&gt; &lt;span class="nt"&gt;&amp;lt;img&lt;/span&gt; &lt;span class="na"&gt;src=&lt;/span&gt;&lt;span class="s"&gt;"image.jpg"&lt;/span&gt; &lt;span class="na"&gt;alt=&lt;/span&gt;&lt;span class="s"&gt;"Image description"&lt;/span&gt; &lt;span class="na"&gt;width=&lt;/span&gt;&lt;span class="s"&gt;"300"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🧩 Forms&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;form&lt;/span&gt; &lt;span class="na"&gt;action=&lt;/span&gt;&lt;span class="s"&gt;"/submit"&lt;/span&gt; &lt;span class="na"&gt;method=&lt;/span&gt;&lt;span class="s"&gt;"post"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;"text"&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"username"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;"submit"&lt;/span&gt; &lt;span class="na"&gt;value=&lt;/span&gt;&lt;span class="s"&gt;"Submit"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nt"&gt;&amp;lt;/form&amp;gt;&lt;/span&gt; 🎨 Inline Formatting Tags• &lt;span class="nt"&gt;&amp;lt;strong&amp;gt;&lt;/span&gt;: Bold text• &lt;span class="nt"&gt;&amp;lt;em&amp;gt;&lt;/span&gt;: Italic text• &lt;span class="nt"&gt;&amp;lt;u&amp;gt;&lt;/span&gt;: Underlined• &lt;span class="nt"&gt;&amp;lt;code&amp;gt;&lt;/span&gt;: Code snippet• &lt;span class="nt"&gt;&amp;lt;mark&amp;gt;&lt;/span&gt;: Highlighted
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🧠 &lt;strong&gt;&lt;em&gt;Best Practices&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Always use &amp;lt;!DOCTYPE html&amp;gt; at the top.&lt;/li&gt;
&lt;li&gt;Use semantic tags like , , , and .&lt;/li&gt;
&lt;li&gt;Keep code readable and properly indented.&lt;/li&gt;
&lt;li&gt;Close all tags unless self-closing (&lt;img&gt;, , etc.)
&lt;a class="mentioned-user" href="https://dev.to/devsyncin"&gt;@devsyncin&lt;/a&gt; &lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devsync</category>
      <category>html</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Getting Started with Git</title>
      <dc:creator>Abhay Bhagat</dc:creator>
      <pubDate>Thu, 12 Jun 2025 16:17:24 +0000</pubDate>
      <link>https://dev.to/abhay_bhagat_358/getting-started-with-git-gap</link>
      <guid>https://dev.to/abhay_bhagat_358/getting-started-with-git-gap</guid>
      <description>&lt;p&gt;# Git and Github&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🧠 &lt;em&gt;Git&lt;/em&gt; &amp;amp; *GitHub&lt;/strong&gt;*&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;📁 Git Basics&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;em&gt;Git&lt;/em&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;is a version control system to track changes in code.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;em&gt;GitHub&lt;/em&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;is a remote hosting service for Git repositories.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🔧 Git Setup&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git config &lt;span class="nt"&gt;--global&lt;/span&gt; user.name &lt;span class="s2"&gt;"Your Name"&lt;/span&gt; git config &lt;span class="nt"&gt;--global&lt;/span&gt; user.email &lt;span class="s2"&gt;"you@example.com"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;📦 Initialize Repository&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git init &lt;span class="c"&gt;# Initialize a Git repo &lt;/span&gt;
git clone &amp;lt;url&amp;gt; &lt;span class="c"&gt;# Clone a repo from GitHub&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;📄 Basic Commands&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git status &lt;span class="c"&gt;# Check status&lt;/span&gt;
git add &amp;lt;file&amp;gt;    &lt;span class="c"&gt;# Stage file&lt;/span&gt;
git add &lt;span class="nb"&gt;.&lt;/span&gt;         &lt;span class="c"&gt;# Stage all changes&lt;/span&gt;
git commit &lt;span class="nt"&gt;-m&lt;/span&gt; &lt;span class="s2"&gt;"message"&lt;/span&gt;  &lt;span class="c"&gt;# Commit staged changes&lt;/span&gt;
git log           &lt;span class="c"&gt;# View commit history&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;🔁 Branching&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git branch &lt;span class="c"&gt;# List branches &lt;/span&gt;
git branch &amp;lt;name&amp;gt; &lt;span class="c"&gt;# Create new branch &lt;/span&gt;
git checkout &amp;lt;name&amp;gt; &lt;span class="c"&gt;# Switch branch &lt;/span&gt;
git checkout &lt;span class="nt"&gt;-b&lt;/span&gt; &amp;lt;name&amp;gt; &lt;span class="c"&gt;# Create + switch &lt;/span&gt;
git merge &amp;lt;branch&amp;gt; &lt;span class="c"&gt;# Merge into current&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;🌍 Remote Repos&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git remote add origin &amp;lt;url&amp;gt; &lt;span class="c"&gt;# Add remote &lt;/span&gt;
git push &lt;span class="nt"&gt;-u&lt;/span&gt; origin main &lt;span class="c"&gt;# Push initial branch &lt;/span&gt;
git push &lt;span class="c"&gt;# Push changes &lt;/span&gt;
git pull &lt;span class="c"&gt;# Pull changes &lt;/span&gt;
git clone &amp;lt;url&amp;gt; &lt;span class="c"&gt;# Clone remote repo&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;🚫 Ignoring Files&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create a .gitignore file:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;node_modules/ 
.env 
&lt;span class="k"&gt;*&lt;/span&gt;.log
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;🔄 Stashing&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git stash &lt;span class="c"&gt;# Save uncommitted changes &lt;/span&gt;
git stash pop &lt;span class="c"&gt;# Apply latest stash&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;🔍 Useful Commands&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git diff &lt;span class="c"&gt;# Show changes &lt;/span&gt;
git show &amp;lt;commit&amp;gt; &lt;span class="c"&gt;# Show details of a commit &lt;/span&gt;
git reset &lt;span class="nt"&gt;--hard&lt;/span&gt; &amp;lt;commit&amp;gt; &lt;span class="c"&gt;# Roll back to a commit (DANGER!)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;✅ *GitHub Workflow (Typical)&lt;/strong&gt;*&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fork repository&lt;/li&gt;
&lt;li&gt;git clone the fork&lt;/li&gt;
&lt;li&gt;Create a new branch&lt;/li&gt;
&lt;li&gt;Make changes, commit&lt;/li&gt;
&lt;li&gt;Push to GitHub&lt;/li&gt;
&lt;li&gt;Open a Pull Request (PR)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;📌 *Helpful Tips&lt;/strong&gt;*&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Always pull before pushing&lt;/li&gt;
&lt;li&gt;Write clear commit messages&lt;/li&gt;
&lt;li&gt;Use .gitignore to avoid committing sensitive files&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devsync</category>
      <category>programming</category>
      <category>git</category>
    </item>
  </channel>
</rss>
