...
 
Commits (2)
......@@ -108,11 +108,12 @@
<br>&ltp> and it's ending &ltp> are used for paragraphs
<br><code>&ltp>This is a regular paragraph&lt/p></code>
<br>
<p>This is a regular paragraph</p>
<p>This is a regular paragraph</p>
<br><code>&ltbr></code> enters to a new line
</div>
<div class="col-8 col-12-small">
<br>&lta> and it's ending &lt/a> are used for hyperlinks both for websites and internal pages and files.
<br>&lta> and it's ending &lt/a> are used for hyperlinks both for websites and internal
pages and files.
<br><code>&lta href="http://fabacademy.org/2019/">FabAcademy Website&lta></code>
<br><a href="http://fabacademy.org/2019/">FabAcademy Website</a>
<br>
......@@ -181,6 +182,32 @@
href="https://en.wikipedia.org/wiki/Armenian_Kingdom_of_Cilicia">Armenian Cilicia
Kingdom</a>
.</p>
<hr class="major" />
<h2>Version Control</h2>
<p>Version control systems help us to keep track of our changes on the files and projects and helps
to recover old versions in case you need them or something goes wrong.
There are three types of version contorl sytems:
<br>Local Version Control Systems - This is not the best solution although in sime cases it's the only option.
<br>Centralized Version Control Systems - This one is better in terms of accessibility but is bad for safety of the data (in case the central unit dies).
<br>Distributed Version Control Systems - This one is the best one since it's not centralized and it enables people to work colaboratively. This is what we will use during our FabAcademy course.
<br> <a href="https://git-scm.com/">Git</a> is a Distributed version control system mainly used by software developers.</p>
<h3>Installing Git on Linux</h3>
<p>Open the terminal and enter this:
<br><code>sudo apt-get update</code>
<br><code>sudo apt-get upgrade</code>
<br><code>sudo apt-get install git</code>
<br>Make sure git is installed by typing:
<br><code>git version</code>
<br>For setting up you Git check this <a href="http://fabacademy.org/2019/docs/FabAcademy-Tutorials/week01_principles_practices_project_management/git_simple.html">Git simple cheat sheet</a>
<br>The main commands that we'll use are:
<br><code>git status</code> Shows what files are untracked what commits are waiting to be pushed etc.
<br><code>git add filename</code> Adds certain file to staging area (The place where it can be commmited)
<br><code>git add .</code> adds all root files to staging area
<br><code>git add --all (or -A)</code> finds all new and updated files in root and subfolders and takes them to staging area.
<br><code>git commit -m "commit message"</code> commits all staged changes with a message.
<br><code>git push</code> uploads the local repository to remote repository.
</p>
</section>
</div>
......