<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by ilemobayo Ayejuni on Medium]]></title>
        <description><![CDATA[Stories by ilemobayo Ayejuni on Medium]]></description>
        <link>https://medium.com/@kingsilemobayo?source=rss-506ecc1a70de------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*EBMFI0SW-fSAniDG.</url>
            <title>Stories by ilemobayo Ayejuni on Medium</title>
            <link>https://medium.com/@kingsilemobayo?source=rss-506ecc1a70de------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 03:59:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kingsilemobayo/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Cleaning My Git Repo From Unwanted Files]]></title>
            <link>https://medium.com/@kingsilemobayo/cleaning-my-git-repo-from-unwanted-files-d07360afc76d?source=rss-506ecc1a70de------2</link>
            <guid isPermaLink="false">https://medium.com/p/d07360afc76d</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[gitignore]]></category>
            <dc:creator><![CDATA[ilemobayo Ayejuni]]></dc:creator>
            <pubDate>Mon, 03 Jun 2019 07:29:16 GMT</pubDate>
            <atom:updated>2019-06-03T07:33:18.785Z</atom:updated>
            <content:encoded><![CDATA[<h3>Step 1: Commit all your changes</h3><p>Before proceeding, make sure all your changes are committed, including your .gitignore file.</p><h3>Step 2: Remove everything from the repository</h3><p>To clear your repo, use:</p><p>git rm --cached.</p><ul><li><a href="https://git-scm.com/docs/git-rm">rm</a> is the remove command</li><li>-r will allow recursive removal</li><li>–cached will only remove files from the index. Your files will still be there.</li><li>The . indicates that all files will be untracked. You can untrack a specific file with git rm --cached foo.txt (thanks <a href="https://github.com/amadeann">@amadeann</a>).</li></ul><p>The rm command can be unforgiving. If you wish to try what it does beforehand, add the -n or --dry-run flag to test things out.</p><h3>Step 3: Re add everything</h3><p>git add .</p><h3>Step 4: Commit</h3><p>git commit -m &quot;fixing .gitignore for my repo&quot;</p><p>Your repository is clean</p><h3>Step 5: Push</h3><p>Push the changes to your remote to see the changes effective there as well.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d07360afc76d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>