<?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: Shivansh Mishra</title>
    <description>The latest articles on DEV Community by Shivansh Mishra (@shivansh_mishra_62356dfec).</description>
    <link>https://dev.to/shivansh_mishra_62356dfec</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%2F3036414%2F71bd12e5-570d-42d3-b754-1cec49b41a86.jpg</url>
      <title>DEV Community: Shivansh Mishra</title>
      <link>https://dev.to/shivansh_mishra_62356dfec</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shivansh_mishra_62356dfec"/>
    <language>en</language>
    <item>
      <title>Want to upload a project on GitHub?</title>
      <dc:creator>Shivansh Mishra</dc:creator>
      <pubDate>Thu, 10 Apr 2025 05:39:17 +0000</pubDate>
      <link>https://dev.to/shivansh_mishra_62356dfec/want-to-upload-a-project-on-github-4c8c</link>
      <guid>https://dev.to/shivansh_mishra_62356dfec/want-to-upload-a-project-on-github-4c8c</guid>
      <description>&lt;h2&gt;
  
  
  Setup git in your system
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Install &lt;a href="https://git-scm.com/downloads" rel="noopener noreferrer"&gt;git&lt;/a&gt; in your system. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Signup/login in your GitHub account.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create a repository in GitHub.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Upload a project in GitHub
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;If you're uploading first time&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Create your project folder 📁 and open it in VS code.(Make sure in the folder atleast one file is present)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Run these commands in VS code terminal 🧑‍💻.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This command initialise git in your folder 👇&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command make the files ready to upload. This command add all file in your folder if you want to upload a specific file replace "." with file name and extension for eg "index.html" 👇&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git add .
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command basically save the history of your changes and ' -m "First commit" ' this is a message of commit 👇&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git commit -m "First commit"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;By default your branch is master to change the project branch we use this command. 👇&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git branch -M main
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command tells you folder to go specific repository. 👇&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git remote add origin https://github.com/your_username/repository_name.git
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is the last command that push your changes in GitHub in main branch 👇&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git push -u origin main
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
    </item>
  </channel>
</rss>
