<?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: Rohinidevi T P 24MCR082</title>
    <description>The latest articles on DEV Community by Rohinidevi T P 24MCR082 (@rohinidevi_tp24mcr082_2).</description>
    <link>https://dev.to/rohinidevi_tp24mcr082_2</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3080196%2F65beef9a-1cc1-4f90-9e09-e6abace92efa.png</url>
      <title>DEV Community: Rohinidevi T P 24MCR082</title>
      <link>https://dev.to/rohinidevi_tp24mcr082_2</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rohinidevi_tp24mcr082_2"/>
    <language>en</language>
    <item>
      <title>TO PUSH ON GITHUB HANDSON ACTIVITY</title>
      <dc:creator>Rohinidevi T P 24MCR082</dc:creator>
      <pubDate>Wed, 23 Apr 2025 17:17:57 +0000</pubDate>
      <link>https://dev.to/rohinidevi_tp24mcr082_2/to-push-on-github-handson-activity-21ic</link>
      <guid>https://dev.to/rohinidevi_tp24mcr082_2/to-push-on-github-handson-activity-21ic</guid>
      <description>&lt;p&gt;Step-by-Step Git Commands Execution:&lt;br&gt;
Initialize a Git repository:&lt;br&gt;
            git init&lt;br&gt;
Creates a new Git repository in the folder 24MCR082.&lt;/p&gt;

&lt;p&gt;Add a file to staging area:&lt;br&gt;
            git add 24MCR082.txt&lt;br&gt;
Adds 24MCR082.txt to the staging area.&lt;/p&gt;

&lt;p&gt;Commit the file:&lt;br&gt;
            git commit -m "Added Personal Details"&lt;br&gt;
Creates a commit with the message "Added Personal Details".&lt;/p&gt;

&lt;p&gt;Check Git status:&lt;br&gt;
             git status&lt;br&gt;
Shows that 24MCR082.txt has been modified but not staged.&lt;/p&gt;

&lt;p&gt;View commit log:&lt;br&gt;
             git log&lt;br&gt;
Displays the commit history (one commit at this point).&lt;/p&gt;

&lt;p&gt;Add remote GitHub repository:&lt;br&gt;
            &lt;a href="https://github.com/Rohini218-ux/24MCR082.git" rel="noopener noreferrer"&gt;https://github.com/Rohini218-ux/24MCR082.git&lt;/a&gt;&lt;br&gt;
Links the local repository to a remote GitHub repo.&lt;/p&gt;

&lt;p&gt;Check current branch:&lt;br&gt;
             git branch&lt;br&gt;
Shows the current branch is master.&lt;br&gt;
Rename branch from master to main:&lt;br&gt;
             git branch -M main&lt;br&gt;
Renames the current branch to main.&lt;/p&gt;

&lt;p&gt;Set Git global config for email and username:&lt;br&gt;
git config --global user.email &lt;br&gt;
git config --global user.name &lt;br&gt;
Sets your global Git identity.&lt;/p&gt;

&lt;p&gt;Push code to remote repo for the first time:&lt;br&gt;
             git push -u origin main&lt;br&gt;
Pushes the main branch to GitHub and sets upstream tracking.&lt;br&gt;
Edit the file and add it again:&lt;br&gt;
             git add 24MCR082.txt&lt;/p&gt;

&lt;p&gt;Commit the changes with updated message:&lt;br&gt;
             git commit -m "Updated Personal Details"&lt;br&gt;
Creates a new commit after updating the file.&lt;/p&gt;

&lt;p&gt;Push the updated commit to GitHub:&lt;br&gt;
             git push&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgyqxiyw60w95cb3rcnfg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgyqxiyw60w95cb3rcnfg.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr9m7zh7ruhacv4spxp1d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr9m7zh7ruhacv4spxp1d.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs2i0w0i0lm8smrsx09od.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs2i0w0i0lm8smrsx09od.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frxikmo863yow6psnrzig.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frxikmo863yow6psnrzig.jpg" alt="Image description" width="800" height="396"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>github</category>
    </item>
  </channel>
</rss>
