Month: November 2019

  • How To Compare Two Git Branches

    How To Compare Two Git Branches

    When working with Git, it is quite common to use different branches in order to have work clearly separated from the main codebase. However, when working on those branches, you might want to merge branches in order to have the resulting work in your main branch. Before merging, you already know that you have to […]

  • Linux Logging Complete Guide

    Linux Logging Complete Guide

    As a Linux system administrator, inspecting log files is one of the most common tasks that you may have to perform. Linux logs are crucial : they store important information about some errors that may happen on your system. They might also store information about who’s trying to access your system, what a specific service […]

  • How To Checkout Git Tags

    How To Checkout Git Tags

    When working with Git, it is quite common for developers to create tags in order to have reference points in your development. Tags are created in order to have references to release versions for example. Furthermore, tags are Git objects meaning that they can be checked out like you would check out a branch or […]

  • How To Unstage Files on Git

    How To Unstage Files on Git

    When working with Git, it is quite common for developers to add all the files to your index in order to prepare them for commit. However, in some cases, you may want to remove files from the index, in other words, you want to unstage files. Unstaging files is very beneficial : it can be […]

  • How To Clean Up Git Branches

    How To Clean Up Git Branches

    When working with Git, it is quite usual to accumulate many different branches for the different features we are working on. However, when merged with our master branch, you may want to clean up unused branches in order for your Git workspace to be more organized. As a developer, it can be quite tiring to […]

  • Working Remotely with Linux Systems

    Working Remotely with Linux Systems

    As a Linux system administrator, you are responsible for many machines that may be located locally or on distant sites. In some cases, you will need to connect to them in order to fix an issue with disk space for example. If you are working with users, some of them may get stuck in an […]

  • Find Text in Files on Linux using grep

    Find Text in Files on Linux using grep

    This tutorial focuses on finding text in files using the grep command and regular expressions. When working on a Linux system, finding text in files is a very common task done by system administrators every day. You may want to search for specific lines in a log file in order to troubleshoot servers issues. In […]

  • How To Cherry Pick Git Commits

    How To Cherry Pick Git Commits

    When working with Git, you may want to include some specific changes into your current branch. You may want for example to introduce a specific commit located on another branch than your current branch. In order to perform this operation, you can use one useful git command : the git cherry-pick. The git cherry-pick is […]

  • How To Clear Git Cache

    How To Clear Git Cache

    When working with Git, you may want to add some new lines to your gitignore files. However, when listing the files to be committed in your staging area, you realize that some of the ignored files are still showing up. In this case, you may need to clear your Git cache. In this tutorial, we […]

  • APT Package Manager on Linux Explained

    APT Package Manager on Linux Explained

    As a system administrator, knowing how to install, update or delete Linux packages is crucial in order to maintain your Linux hosts and servers. You may have to update your current packages in order to get the latest security patches for your servers. On the other hand, you may have to setup an entire HTTP […]