Basic Commands - Intro to Git part 2

Installing Git You can find Git in basically every package manager in existence. If you don’t use a package manager, you can get git from the official downloads page. This tutorial uses git version 2.x.x. Check which version you have by running 1 $ git --version Creating a repository To create a git repository in the current directory, use the init subcommand: 1 $ git init This command will create the ....

August 23, 2020 · 5 min · Kian Kasad

Gitting off the Ground - Intro to Git part 1

What is Git? Git is the world’s most popular version control software. But that raises another question; what is version control? Version control is a system of saving changes to files in steps. In Git, these steps are called ‘commits.’ When you use version control, all changes to your codebase are kept and are organized for you. This is extremely useful if you want to do something like roll back a change, or pinpoint when a bug was introduced....

August 22, 2020 · 5 min · Kian Kasad

Using Git Submodules

If you’ve ever tried to add a Git repository within another Git repository, you may have gotten a confusing message like this: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 warning: adding embedded git repository: another-repo hint: You've added another-repo git repository inside your current repository. hint: Clones of the outer repository will not contain the contents of hint: the embedded repository and will not know how to obtain it....

August 22, 2020 · 2 min · Kian Kasad

Creating a Blog With Hugo

Web development can be tricky, especially if you want your site to look nice. That’s where Hugo comes in. Hugo is a static site generator (SSG). It takes simple markdown files and converts them into web-ready HTML/CSS/JS using a theme you provide. Installing Hugo Most Linux distributions already have a package for Hugo. It can also be installed using Homebrew or Chocolatey. If you don’t use a package manager, binaries are available for Windows, MacOS, Linux, FreeBSD, and OpenBSD from the Hugo releases page....

August 22, 2020 · 7 min · Kian Kasad