All Stories

Git 101: gc

Git gc stands for garbage collection. There are multiple types of “garbage” including orphaned, unreachable and dangling objects. These Git objects will be part of another post in the...

In Git, Oct 29, 2022

Install Python on Amazon Linux 2

Installing Python 3 from the existing Amazon Linux 2 packages should be fairly easy. If you want to install the latest Python version 3.11.0 it might be tricky, but we are going to co...

In Python, AWS, Amazon Linux 2, Oct 28, 2022

Git 101: config

Git configuration or just git config is where you update the configuration at project, user and at system level. Here are some nuggets though that might help you with the basics.

In Git, Oct 28, 2022

Git merge: --ff vs --no-ff

Besides Git merge being a common operation when merging one branch into another, there are these two popular flags bamboozling developers: --ff or so-called fast-forward, and --no-ff ...

In Git, Oct 27, 2022

Install PowerShell on Debian 11

PowerShell can be installed on Debian 11 as well. All you need is to follow the steps down below.

In PowerShell, Debian, Oct 26, 2022

Git: merge vs rebase

Probably the most searched Git comparison ever made between merge and rebase. The most debated as well in terms of use case and a popular DevOps interview question as well. I’m going ...

In Git, Oct 26, 2022

Git: working tree vs working directory

Starting from Git version 2.9.1 the working directory is referred to as working tree. Let me clear the baffling difference for once.

In Git, Oct 25, 2022

Install PowerShell on Amazon Linux 2

Performing or testing cross-compatibility tools on Amazon Linux 2 can be sort of a challenging task. PowerShell packages are not taking part of the Amazon Linux 2 packages, so that’s ...

In PowerShell, AWS, Amazon Linux 2, Oct 24, 2022

git switch vs git checkout

Both git checkout and git switch are being used for checking out Git branches with git switch being introduced recently (3 years ago) considering Git being “born” in 2005. So, why sho...

In Git, Oct 24, 2022

Git error: 'fatal: refusing to merge unrelated histories'

Rebasing, pulling, merging and what not could lead to the following Git error: fatal: refusing to merge unrelated histories. Here’s the solution.

In Git, Oct 23, 2022