All Stories

Git list local and remote branches

As with most things in Git, there are multiple ways to list branches. You don’t want to waste any time browsing GitHub or GitLab for sure, hence running Git commands from the CLI is t...

In Git, Sep 03, 2022

Install tar on CentOS 9 Stream

Tar as an archive tool comes with the default CentOS 9 packages. The installation part is easy and straightforward, so let’s see how to install tar on CentOS 9 Stream.

In Archive, CentOS, Sep 02, 2022

How to Git checkout a commit

Besides checking out Git branches, checking out commits could be a convenient way to test and deploy features in a test environment as well. As with branches, we are going to use the ...

In Git, Sep 01, 2022

Install Ansible on CentOS 9 Stream

EPEL repository can provide a quick and easy way to install Ansible on CentOS 9. Let’s check it !!!

In Ansible, CentOS, Aug 31, 2022

How to get the hash (commit ID) for the current Git commit

Git commit ID is essentially a SHA-1 hash 40 characters string that looks like c1e5a0931989d842d00b8c07a5aacfe75ff39fcc. However, here’s some practical nugget I wanna share with you o...

In Git, Aug 30, 2022

Install dig and nslookup on CentOS 9 Stream

If you face an issue like -bash: nslookup: command not found that means you don’t have dig and nslookup installed as a DNS tool on your CentOS 9 machine. Let’s see how to install dig ...

In DNS, CentOS, Aug 29, 2022

How to delete local and remote commits in Git

As a Git newbie doing things right has always been a difficult thing to do. Here are some commands to remove and local and remote commits in Git.

In Git, Aug 28, 2022

How to install Python on CentOS 9 Stream

As always keeping to the minimalistic things will ease your life. Today’s aim is to install Python on CentOS 9 Stream. The installation is pretty simple and quick.

In Python, CentOS, Aug 27, 2022

How to list Git empty commits

Pushing empty commits or in general with no files changed is mostly done when triggering a deployment (CI/CD) pipeline, speaking from my personal experience for sure. However, if you ...

In Git, Aug 26, 2022

How to install Terraform on CentOS 9 Stream

There are two ways to install Terraform on CentOS 9 Stream. Through Terraform Repository. Manually.

In Terraform, CentOS, Aug 25, 2022