All Stories

Git: restore vs reset vs revert vs rebase

Time to compare yet another somehow confusing Git commands. This time being restore, reset, revert and rebase. Obviously, I won’t be doing a deep dive, and I’ll try to be as plain as ...

In Git, Sep 13, 2022

Install Netstat on Alpine Linux

Netstat is a useful tool if you want to troubleshoot or display network related information. You can list all the open connections, open socket, ports, etc… Let me show you how to ins...

In Netstat, Alpine Linux, Sep 12, 2022

Cherry picking commits in Git

Cherry-picking in Git is all about choosing, picking and applying commit from any branch to the current HEAD branch. This is done using the git cherry-pick command. Let’s dive a bit i...

In Git, Sep 11, 2022

Install Unbuffer on CentOS 9 Stream

The procedure of installing Unbuffer on CentOS 9 Stream is pretty much the same as the other RHEL distros. Let’s jump on the installation steps.

In Unbuffer, CentOS, Sep 10, 2022

git fetch vs git pull

Two oddly confusing Git commands for beginners – git fetch and git pull used on a daily basis. I’ll try to describe them broadly and get to know how and when to use both of them.

In Git, Sep 09, 2022

Install Unbuffer on Alpine Linux

Getting rid of the output buffering using pipelines can be achieved using the unbuffer command. Let’s see how to install unbuffer on Alpine Linux.

In Unbuffer, Alpine Linux, Sep 08, 2022

How to get Git repository URL

In this plain and simple tutorial we are going to see how to get the remote URL that a Git repository was initially cloned from. This could be useful though when writing scripts per se.

In Git, Sep 07, 2022

Install jq on CentOS 9 Stream

If you are playing with JSON things then you may consider installing jq. It’s a simple JSON Processor which can help you to get the desired JSON output. Today I’m going to install jq ...

In jq, CentOS, Sep 06, 2022

Deleting local and remote Git branches (CHEATSHEET)

Cleaning up the environment after a successful sprint is probably my favorite part so far. This includes everything from Git branches to containerized application environments. It’s a...

In Git, Sep 05, 2022

Install Zip and Unzip on CentOS 9 Stream

Reducing the file size can be achieved with a lot of archive tools. One of them is zip who comes with a separate unzip package if you want to extract the file. Let’s see how to instal...

In Archive, CentOS, Sep 04, 2022