<?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: Kaarthi.dev</title>
    <description>The latest articles on DEV Community by Kaarthi.dev (@kaarthik).</description>
    <link>https://dev.to/kaarthik</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%2F338414%2F8d8b546c-3ac5-4575-b191-fdef96eab60c.jpg</url>
      <title>DEV Community: Kaarthi.dev</title>
      <link>https://dev.to/kaarthik</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kaarthik"/>
    <language>en</language>
    <item>
      <title>What is git? Why should i use git ?  (List of Basic git commands)</title>
      <dc:creator>Kaarthi.dev</dc:creator>
      <pubDate>Wed, 10 Jun 2020 17:22:56 +0000</pubDate>
      <link>https://dev.to/kaarthik/what-is-git-why-should-i-use-git-list-of-basic-git-commands-jkh</link>
      <guid>https://dev.to/kaarthik/what-is-git-why-should-i-use-git-list-of-basic-git-commands-jkh</guid>
      <description>&lt;p&gt;Git is a version control system. For example, if you have a file on which you’ve been working on and reworking for a long time, all the versions of it are saved in Git, and you can easily get back to every version.&lt;/p&gt;

&lt;h4&gt;
  
  
  What is it for?
&lt;/h4&gt;

&lt;p&gt;The version control system has the following benefits:&lt;/p&gt;

&lt;p&gt;• You have access to all versions of all files in Git repository at any time, it’s almost impossible to lose any part of a code.&lt;/p&gt;

&lt;p&gt;• Multiple developers can work on one project at the same time without interfering with each other, and without fear of losing any changes made by a colleague. In Git, the possibilities of collaborative work are unlimited.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_SggCK6F--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/1jwd7blrneqqc1mzyulq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_SggCK6F--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/1jwd7blrneqqc1mzyulq.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Here is a list of some basic Git commands to get you going with Git.
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Git Task&lt;/th&gt;
&lt;th&gt;Notes&lt;/th&gt;
&lt;th&gt;Git Commands&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Create a global repository&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;git init&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;To add files&lt;/td&gt;
&lt;td&gt;Add one or more files to staging (index):&lt;/td&gt;
&lt;td&gt;git add *&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Commit&lt;/td&gt;
&lt;td&gt;Commit changes to head (but not yet to the remote repository):&lt;/td&gt;
&lt;td&gt;git commit -m "Commit message"&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Push&lt;/td&gt;
&lt;td&gt;Send changes to the master branch of your remote repository:&lt;/td&gt;
&lt;td&gt;git push origin master&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Status&lt;/td&gt;
&lt;td&gt;List the files you've changed and those you still need to add or commit:&lt;/td&gt;
&lt;td&gt;git status&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Check out a repository&lt;/td&gt;
&lt;td&gt;Create a working copy of a local repository:&lt;/td&gt;
&lt;td&gt;git clone /path/to/repository&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Tell git who you are&lt;/td&gt;
&lt;td&gt;Configure the author name and email address to be used with your commits.&lt;/td&gt;
&lt;td&gt;git config --global user.name "Sam Smith" git config --global user.email &lt;a href="mailto:sam@example.com"&gt;sam@example.com&lt;/a&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Summary
&lt;/h3&gt;

&lt;p&gt;As a developer it is important to know git commands and one should have a github profile.Be sure to sign up on GitHub or Bitbucket. These services offer great manuals on how to start working with remote repositories.GitHub is way ahead of bitbucket, and has turned into the standard and Mecca of the whole open source community.Hope this above post helped you. &lt;/p&gt;

&lt;p&gt;Hope you enjoyed the above post&lt;/p&gt;

</description>
      <category>codenewbie</category>
      <category>git</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Css Tips </title>
      <dc:creator>Kaarthi.dev</dc:creator>
      <pubDate>Sat, 23 May 2020 16:19:15 +0000</pubDate>
      <link>https://dev.to/kaarthik/css-tips-370</link>
      <guid>https://dev.to/kaarthik/css-tips-370</guid>
      <description>&lt;p&gt;Few things as a developer we should always keep in our mind in order to save time. Lot of things can be done with css. &lt;/p&gt;

&lt;h1&gt;
  
  
  1.Short-hand property.
&lt;/h1&gt;

&lt;p&gt;Instead of writing css like this,&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.header {
      background-color: #fff;
      background-image: url(image.gif);
      background-repeat: no-repeat;
      background-position: top left; 
    }

&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;We can write css like this,&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.header {
    background: #fff url(image.gif) no-repeat top left; 
    }
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;h1&gt;
  
  
  2.Avoid superfluous Selectors
&lt;/h1&gt;

&lt;p&gt;Sometimes your CSS declaration can be simpler, meaning if you find yourself coding the following:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ul li { ... }

ol li { ... }

table tr td { ... }
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;They can be shorten down to just&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;li { ... }

td { ... }
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;h1&gt;
  
  
  3.Knowing !important
&lt;/h1&gt;

&lt;p&gt;Any style marked with !important will be taken into use regardlessly if there’s a overwriting rule below it.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.page { background-color:blue !important; 
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
In the example above, background-color:blue will be adapted because it’s marked with !important, even when there’s a background-color:red; below it.&lt;/p&gt;

&lt;p&gt;!important is used in situation where you want to force a style without something overwriting it, however it may not work in Internet Explorer.&lt;/p&gt;
&lt;h1&gt;
  
  
  4.Centering
&lt;/h1&gt;

&lt;p&gt;This one is always tricky in css. &lt;/p&gt;
&lt;h2&gt;
  
  
  Text
&lt;/h2&gt;

&lt;p&gt;It can be aligned by using text-align:center. &lt;br&gt;
Whereas for div can be centered by adding block property to it. Here's an example,&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#div1{
 display: block; 
 margin: auto; 
 Width: anything under 100%;
}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;h1&gt;
  
  
  5.Vertical Alignment
&lt;/h1&gt;

&lt;p&gt;You will use css navigation menu, I can almost guarantee that. The key is to make the height and line-height the same. &lt;br&gt;
Here's an example,&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.nav li {
 line-height:50px;
 height: 50px;
}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;I hope you guys enjoyed the above post ❤️ &lt;/p&gt;

</description>
      <category>webdev</category>
      <category>css</category>
      <category>beginners</category>
      <category>codenewbie</category>
    </item>
  </channel>
</rss>
