All Stories

The proper way to copy Git commit from one branch to another

If you are asking yourself how to copy changes from one branch to another, you are probably in the right place. Many posts out there suggest a git merge or git rebase which is also fi...

In Git, Oct 09, 2022

Install Java 11 on Amazon Linux 2

Since the amazon-linux-extras repository supports the OpenJDK 11 package, the installation of Java 11 on Amazon Linux 2 is literally one simple command. Let’s reveal the magical command.

In Java, AWS, Amazon Linux 2, Oct 08, 2022

Git: Recovering files from previous commit or branch

As I continue on my Git journey, today I want to show you how to recover files from some old commits or branches. This would be closely related to Restore deleted files in Git.

In Git, Oct 08, 2022

Viewing an older version of a file with Git

Here’s a great Git tip if you want to view an older version of a file on a certain branch / commit. As with other things with Git, there’s more than one way to cook an egg.

In Git, Oct 07, 2022

Install MySQL on macOS with Homebrew

If you strive to install MySQL on macOS in a few steps then brew is the right choice for it. Let’s see how to install MySQL on macOS with Homebrew.

In macOS, MySQL, Oct 06, 2022

Git: Commit parts of a file only and interactive staging

Interactive staging is a neat feature in Git that lets you be selective about which file changes to be staged.

In Git, Oct 06, 2022

About Git orphan branches and their use cases

Orphan branches in Git are rare as hens’ teeth though I’m writing from my personal experience. What, how and why are created orphaned branches will be the topics for today.

In Git, Oct 05, 2022

Fix 'illegal_argument_exception at shard' Elasticsearch error

Playing around with an existing ES cluster, I stumbled upon the following issue:Typeillegal_argument_exceptionReasonField [...] of type [text] does not support custom formatsHere I’m ...

In Elasticsearch, Oct 04, 2022

About deleting your Git repo commit history

Removing things has been my favorite topic to write about. Pushing any sensitive information as part of a Git commit or starting from scratch could be arguably enough reasons to remov...

In Git, Oct 04, 2022

Create a Git branch from an existing commit

This post will be all about on how you could create a new Git branch from a previous commit. As everything with Git, there are multiple ways to do so.

In Git, Oct 03, 2022