<?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: Deepak Kushwaha</title>
    <description>The latest articles on DEV Community by Deepak Kushwaha (@d804).</description>
    <link>https://dev.to/d804</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%2F452869%2F362c912b-a4de-49c4-b6ea-c08b5ce135dc.jpeg</url>
      <title>DEV Community: Deepak Kushwaha</title>
      <link>https://dev.to/d804</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/d804"/>
    <language>en</language>
    <item>
      <title>BASIC OF UNIX, GIT, AND 
              GITHUB</title>
      <dc:creator>Deepak Kushwaha</dc:creator>
      <pubDate>Mon, 17 Aug 2020 11:07:19 +0000</pubDate>
      <link>https://dev.to/d804/basic-of-unix-git-and-github-4l8n</link>
      <guid>https://dev.to/d804/basic-of-unix-git-and-github-4l8n</guid>
      <description>&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;              UNIX
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;unix is a operating system which act as a link between the computer and user &lt;/p&gt;

</description>
    </item>
    <item>
      <title> Basics of Unix, Git, and 
              Github</title>
      <dc:creator>Deepak Kushwaha</dc:creator>
      <pubDate>Sat, 15 Aug 2020 12:00:57 +0000</pubDate>
      <link>https://dev.to/d804/basics-of-unix-git-and-github-4dfe</link>
      <guid>https://dev.to/d804/basics-of-unix-git-and-github-4dfe</guid>
      <description>&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;              UNIX
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Unix(UNiplexed Information Computing System) is an operating system which acts as a link between the computer and user.it is developed in 1969 at AT &amp;amp; Ts bell labs by ken Thompson and denis Ritchie also known for  father of  c programming language&lt;br&gt;&lt;br&gt;
                     FEATURES OF UNIX&lt;br&gt;
1 Multiuser capability&lt;br&gt;
2 Multitasking capability&lt;br&gt;
3 communication &lt;br&gt;
4 security&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;                   UNIX ARCHITECTURE
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;it is divided into 3 parts&lt;br&gt;
1 kernel&lt;br&gt;
2 shell&lt;br&gt;
3 application program   &lt;/p&gt;

&lt;p&gt;kernel- it is a heart of the operating system it interacts with hardware and manages memory, task scheduling, file management&lt;/p&gt;

&lt;p&gt;shell- A shell provides an interface of the Unix system it gathers input from us and executes programs based on that input.&lt;/p&gt;

&lt;p&gt;further shell is divided into 2 parts&lt;br&gt;
 1 c shell&lt;br&gt;
 2 bourne shell&lt;/p&gt;

&lt;p&gt;c shell(csh)- c cell is developed by Bill joy it is a command processor which run in a text window allow a user to type a commands&lt;br&gt;
 Bourne shell-It is considered as a primary shell bash is the free version of the bourne shell.&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;           COMMANDS AND UTILITY
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;there are various command which we use in our activities&lt;br&gt;
1.pwd-          it is used to print present work directory&lt;br&gt;
2.ls -          list all folder and files in a directory&lt;br&gt;
3.cd-           Used to change directory&lt;br&gt;
4.cd ..         move back to one directory&lt;br&gt;
5.cp -          copy file into a directory&lt;br&gt;
6.rm-           remove or delete a file&lt;br&gt;
7.mv-           move or rename a file&lt;br&gt;
8.man-          manual(help) command&lt;br&gt;
9.mkdir-        to create a directory&lt;br&gt;
10.rmdir-       remove directory (but the directory must be empty)&lt;br&gt;
11.ls -a        this command will show the whole list of current &lt;br&gt;
                directory&lt;br&gt;
12.touch-       touch is used to create a file&lt;br&gt;
13.echo-        echo is used to display a line of text&lt;br&gt;
14.head-        head tag returns the first 10 line&lt;br&gt;
15.tail-        it returns the last 10 line&lt;br&gt;
16.cat-         cat allows to create single or multiple files&lt;br&gt;
17.nano-        nano is a command-line text editor in which we can edit &lt;br&gt;
                our existing file&lt;br&gt;
18.grep-        it is a command-line tool used to search character &lt;br&gt;
                in a specific file&lt;br&gt;
19.grep -w-     search words in all file&lt;br&gt;
20.rm -r-       used to remove file including its content&lt;br&gt;
21.clear-       used to clear screen&lt;br&gt;
22.exit-        exit terminal&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;      KEY FEATURES OF UNIX COMMAND
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;always use lower case letter in Unix commands&lt;br&gt;
-always use space or a tab between the commands name&lt;/p&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;             GIT
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Git is a distributed version control system for tracking changes in computer files and coordinating work on those files among multiple people.&lt;/p&gt;

&lt;p&gt;version-control-system: Version control systems are a category of software tools that help a software team manage changes to source code over time. Version control software keeps track of every modification to the code in a special kind of database. &lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;              STAGES OF GIT
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;there are three stages &lt;br&gt;
1.working tree&lt;br&gt;
2.stagging area&lt;br&gt;
3.commit&lt;/p&gt;

&lt;p&gt;Working tree: working tree consist of current working files in which we can add and edit files it is also called an untracked area of git if we make changes in our working file git recognized a modification&lt;/p&gt;

&lt;p&gt;Staging area: this stage starts the tracking of our repo from this stage we have two options either go to commit and another one is going to working tree for modification.&lt;/p&gt;

&lt;p&gt;Commit: git commit command takes a snapshot representing the staged changes&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;            GIT COMMANDS
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;1.git config --  used to set name and email&lt;br&gt;
2.git init   -    it creates a new git repository&lt;br&gt;
3.git add     -   it used to add changes in the staging area&lt;br&gt;
4.git commit   -  record changes of a repository&lt;br&gt;
5.git status    - git status command is used to show the status &lt;br&gt;
                 of repo &lt;br&gt;
6.git commit -m" -changes" it shows what type of changes we mad in &lt;br&gt;
                         file&lt;br&gt;
7.git checkout   -it is used to recover file&lt;br&gt;
8.git log        -git log commands display all of the commits &lt;br&gt;
                 in the repo history&lt;br&gt;
                     -hash algorithm&lt;br&gt;
                     -commit message&lt;br&gt;
                      -author&lt;br&gt;
                       -date&lt;br&gt;
9.git log -p -1  - if we have multiple logs by the help of &lt;br&gt;
                  this we can watch the last updated commit &lt;br&gt;
                  details &lt;br&gt;
10.git diff     -  when we updated our repo and wanted to see the &lt;br&gt;
                  the difference we can use this &lt;br&gt;
10.git ignore    - it is used to ignore file &lt;br&gt;
11.git restore   - git restore is about restoring files in the &lt;br&gt;
                  a working tree from either the index or another &lt;br&gt;
                  commit&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;            BRANCHING AND MERGING
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The git branch is a branch management tool. Brach gives a feature to keep developing and adding a new feature to the software without affecting the main part of the project. The primary or default branch in git is the master branch developers create a copy of the main branch start development.&lt;br&gt;
merging takes the contents of a source branch and integrates them with a target branch.in this process, only the target branch change source branch remains the same &lt;br&gt;
   there are two types of merging&lt;br&gt;
1.fast forward merging&lt;br&gt;
2.3-way merge  &lt;/p&gt;

&lt;p&gt;Fast forward merging: A fast-forward merge can occur when there is a linear path from the current branch tip to the target branch.&lt;/p&gt;

&lt;p&gt;3-way merge: 3-way merging use when there is not a direct path of a merge. It takes two commits to create a new commit called merge commit&lt;br&gt;
                            GITHUB&lt;br&gt;
GitHub is a website and cloud-based service that helps developers store and manage their code, as well as track and control changes to their code&lt;br&gt;
In Github, we can create a copy of a project and assigned to anyone&lt;/p&gt;

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