<?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: We FOSS</title>
    <description>The latest articles on DEV Community by We FOSS (@we_foss).</description>
    <link>https://dev.to/we_foss</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%2F641688%2F12efea59-a464-4bbd-80af-844350a6ad9b.png</url>
      <title>DEV Community: We FOSS</title>
      <link>https://dev.to/we_foss</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/we_foss"/>
    <language>en</language>
    <item>
      <title>The Git tutorial</title>
      <dc:creator>We FOSS</dc:creator>
      <pubDate>Sun, 06 Jun 2021 17:34:58 +0000</pubDate>
      <link>https://dev.to/we_foss/the-git-tutorial-499g</link>
      <guid>https://dev.to/we_foss/the-git-tutorial-499g</guid>
      <description>&lt;h1&gt;
  
  
  Git tutorial
&lt;/h1&gt;

&lt;h2&gt;
  
  
  What is Git?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Git&lt;/strong&gt; is a &lt;strong&gt;free and open source&lt;/strong&gt; software for version control, that is designed to handle all kinds of projects. &lt;/p&gt;

&lt;h2&gt;
  
  
  Advantages of Git
&lt;/h2&gt;

&lt;p&gt;For example, let's consider people A and B working on the same project. Let's assume they are editing the same file. &lt;/p&gt;

&lt;p&gt;If A adds some text, and B replaces some text, a problem arises. The same file is being edited by 2 people, and there arrives a clash. The text replaced by B could be one of the dependencies of A's text. &lt;/p&gt;

&lt;p&gt;Git was introduced into this world, to solve this problem. One can edit the file, the other can also do the same, but these kinds of errors won't occur. &lt;/p&gt;

&lt;h2&gt;
  
  
  Installing Git
&lt;/h2&gt;

&lt;p&gt;You can install git via checking out this URL: &lt;a href="https://git-scm.com/downloads"&gt;https://git-scm.com/downloads&lt;/a&gt;, and then selecting your operating system. Alternatively, &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;If your're using Chocolatey in Windows, open Powershell as admin and run this: &lt;code&gt;choco install git -y&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;If you're using Linux, run this (according to your distro):
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  sudo apt install git -y (Debian based)
  sudo pacman -Sy git (Arch based)
  sudo yum install git -y (RedHat/Fedora based)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;If you're using macOS with HomeBrew installed, use this command: &lt;code&gt;brew install git&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And now, you're ready to use Git.&lt;/p&gt;

&lt;h2&gt;
  
  
  Using Git
&lt;/h2&gt;

&lt;p&gt;Using Git via the GUI offered by GitHub seems easier, but learning the command line is even more easier and it helps you a lot.&lt;/p&gt;

&lt;p&gt;Here's how you can use Git with the command line:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;git clone url_of_repo&lt;/code&gt;
(To clone the repository into your system)&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;git checkout branch_name&lt;/code&gt;&lt;br&gt;
(to change to a separate branch)&lt;br&gt;
&lt;code&gt;git checkout -b branch_name&lt;/code&gt; (to create a new branch and switch to it)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You can create a file after changing the branch, or make any changes to already existing files.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;After editing/modifying the files, you have to push the changes to GitHub. &lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;blockquote&gt;
&lt;p&gt;Note: For the following commands to work, you must be inside that prticular folder. Else, it won't work :)&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Use "&lt;code&gt;git add .&lt;/code&gt;" ( Here, period is used to push all the files) or &lt;code&gt;git add -A&lt;/code&gt; (same purpose)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;git commit -m your_message&lt;/code&gt; (to )&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;git push&lt;/code&gt; (to push your changes to the repository)&lt;/p&gt;

&lt;p&gt;This might not work during a few situations, so you can use the command which is recommended by Git to use in the terminal. &lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;And, those are the basic methods to use Git. If you master these 5 commands, you won't be needing the GUI to manage files via GitHub. &lt;/p&gt;

&lt;p&gt;Good Luck!&lt;/p&gt;

&lt;h2&gt;
  
  
  Credits:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Authors&lt;/strong&gt;: &lt;a href="https://twitter.com/CodingIsCoool"&gt;Yash Wankhade&lt;/a&gt; and &lt;a href="https://twitter.com/codo__sapien"&gt;Abhay Anand&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Editors&lt;/strong&gt;: &lt;a href="https://twitter.com/tshrvrm"&gt;Tushar Verma&lt;/a&gt;, &lt;a href="https://twitter.com/ppranav06"&gt;Pranav&lt;/a&gt; and &lt;a href="https://twitter.com/STEMInstructor_"&gt;Rasheedah&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Publisher&lt;/strong&gt;: &lt;a href="https://twitter.com/ppranav06"&gt;Pranav P&lt;/a&gt;&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>git</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Link Trim </title>
      <dc:creator>We FOSS</dc:creator>
      <pubDate>Fri, 04 Jun 2021 10:20:44 +0000</pubDate>
      <link>https://dev.to/we_foss/link-trim-1bch</link>
      <guid>https://dev.to/we_foss/link-trim-1bch</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;If you’re trying to share a very useful info with your growing audience, then you don’t want the links to those golden contents to upstage your efforts! &lt;strong&gt;Link Trim&lt;/strong&gt; by The &lt;strong&gt;We FOSS&lt;/strong&gt; Team is a Project that helps you to customize, as well as shorten a very long URL. &lt;/p&gt;

&lt;h2&gt;
  
  
  The objective of our project
&lt;/h2&gt;

&lt;p&gt;The main objective of our project is, &lt;strong&gt;support the open-source community&lt;/strong&gt;, and also train code newbies on how to contribute to the open-source community while training them for the future.&lt;/p&gt;

&lt;p&gt;The objective of Link Trim is, to shorten the URL according to your preference. &lt;/p&gt;

&lt;p&gt;For example, your Facebook bio supports only 100 characters. In case of Twitter, a single tweet can only hold 280 characters and a thread holds only 25 tweets in a row.  By using our service, with shorter links and more space, you can add more info about what you're sharing in the social media. &lt;/p&gt;

&lt;h2&gt;
  
  
  What we learnt
&lt;/h2&gt;

&lt;p&gt;We had a lot of professionals, but there were also newbies joining our project. &lt;/p&gt;

&lt;p&gt;The knowledge and guidance of the professionals helped the newbies learn a lot of things like managing HTML, formatting CSS, Bootstrap, JavaScript, using Git, etc. &lt;/p&gt;

&lt;h2&gt;
  
  
  Our contributors
&lt;/h2&gt;

&lt;p&gt;Handling the Front-End interface, which is built with HTML, CSS, Bootstrap and JavaScript, is done by:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Rasheedah Obabunmi - &lt;a href="https://twitter.com/STEMInstructor_"&gt;@STEMInstructor_&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Bambam - &lt;a href="https://twitter.com/bambam08N"&gt;@bambam08N&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Abhay Anand - &lt;a href="https://twitter.com/codo__sapien"&gt;@codo__sapien&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Aditi - &lt;a href="https://twitter.com/shreeAditi26"&gt;@shreeAditi26&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Suleiman Mohammed - &lt;a href="https://twiter.com/The_CybersecGuy"&gt;@The_CybersecGuy&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Yash Wankhade - &lt;a href="https://twiter.com/CodingIsCoool"&gt;@CodingIsCoool&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Divya Jain - &lt;a href="https://twiter.com/imdivi_jain"&gt;@imdivi_jain&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The Back-End which we are currently building with Node JS, Express JS, Mongo DB and Heroku is being handled by:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Tushar Verma - &lt;a href="https://twiter.com/tshrvrm"&gt;@tshrvrm&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Kunal Agarwal - &lt;a href="https://twiter.com/kunalagarwal503"&gt;@kunalagarwal503&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Fawaz Sullia - &lt;a href="https://twiter.com/realfawazsullia"&gt;@realfawazsullia&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Varun Singh - &lt;a href="https://twiter.com/read__its"&gt;@read__its&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Muqeet Zama Khan &lt;a href="//https:/twitter.com/muqeet_zama"&gt;@muqeet_zama&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Bilal Umrani
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The Middle Ware, which is done with Django is handled by Ankit - &lt;a href="https://twiter.com/i_ankitk"&gt;@i_ankitk&lt;/a&gt;. The Project Documentation and Social Media Management is handled by Pranav - &lt;a href="https://twiter.com/ppranav06"&gt;@ppranav06&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;An Article by Pranav, the Team Lead of Middle-ware.&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>wefoss</category>
    </item>
  </channel>
</rss>
