<?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>Debug School: yogita</title>
    <description>The latest articles on Debug School by yogita (@soniyogita70).</description>
    <link>https://www.debug.school/soniyogita70</link>
    <image>
      <url>https://www.debug.school/images/8nesYoK5py-fTz8Y5d_0oGbwR-xy3YfMlQOtWn3OW40/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzMyNi8wNGNk/MGMzNS04OTVjLTRi/ZTEtYmE4OC0yODcy/ZjY4OWZjMzEucG5n</url>
      <title>Debug School: yogita</title>
      <link>https://www.debug.school/soniyogita70</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/soniyogita70"/>
    <language>en</language>
    <item>
      <title>Git Assignment #1</title>
      <dc:creator>yogita</dc:creator>
      <pubDate>Sat, 21 Jan 2023 10:40:45 +0000</pubDate>
      <link>https://www.debug.school/soniyogita70/git-assignment-1-5a3a</link>
      <guid>https://www.debug.school/soniyogita70/git-assignment-1-5a3a</guid>
      <description>&lt;p&gt;&lt;strong&gt;- What is Git?&lt;/strong&gt;&lt;br&gt;
Git is open source Distributed Version Control System which enables user to track code history including what &amp;amp; when changes done and who commit the changes. &lt;br&gt;
This is developed by Linus Torvalds. With the help Git multiple people can work on the same file and resolve differences later.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- How Git works? Architecture of Git&lt;/strong&gt;&lt;br&gt;
Git allows developer to have code in there local machine and then they can Add &amp;amp; Commit their code in repo. And then that code is accessible to all other developers also.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Explain why git is Distributed?&lt;/strong&gt;&lt;br&gt;
Git allows multiple developers to work on same project and helps in tracking the changes of code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Explain git workflow with image.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.debug.school/images/knbzqr4MCpRgZHJCL7nYcB4g6DuZ9rWcEV6dYPG-skM/w:880/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvMXBpZmR2/ZGgweDR6bnNtb3gw/YnMucG5n" class="article-body-image-wrapper"&gt;&lt;img src="https://www.debug.school/images/knbzqr4MCpRgZHJCL7nYcB4g6DuZ9rWcEV6dYPG-skM/w:880/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvMXBpZmR2/ZGgweDR6bnNtb3gw/YnMucG5n" alt="Image description" width="880" height="749"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Below is the workflow of git:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;User can create(&lt;code&gt;git init repo_name&lt;/code&gt;) or use a repository on which he/she wants to work and then they can write code on their local machine. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;When all the updations are done then &lt;code&gt;git add filename.ex&lt;/code&gt; can add all changes and additions in staging area.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Then whole code needs to be commit in local repository &lt;br&gt;
&lt;code&gt;git commit -m "any_meesage"&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Now that code will be updated in remote repository so that it could be accessible to all other people who are working in same repository.&lt;br&gt;
&lt;code&gt;git push branch_name&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;-List of Top 10 Git Commands.&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;git init&lt;/code&gt; - Create repository&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;git add&lt;/code&gt; - Add file in staging area&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;git commit&lt;/code&gt; - Commit in local repository&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;git push&lt;/code&gt; - Move local branch to remote&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;git pull&lt;/code&gt; - Pull all updated code from remote repo&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;git status&lt;/code&gt; - Displays the state of the working directory &lt;/li&gt;
&lt;li&gt;
&lt;code&gt;git config&lt;/code&gt; - Set configuration in git&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;git log&lt;/code&gt; - Shows previous revisions of a project&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;git clone&lt;/code&gt; - Creates a copy of an existing Git repository.
10.&lt;code&gt;git checkout&lt;/code&gt; - Checks out old commits and old file revisions&lt;/li&gt;
&lt;/ol&gt;

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