Skip to main content

6 posts tagged with "version-control"

version-control tag description

View All Tags

How to sign your commits with a GPG key so that "Verified" badge appears next to your name on GitHub?

· 5 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

That "Verified" badge on GitHub isn't just for show-it's a cryptographic guarantee that the code actually came from you and hasn't been tampered with. Without it, anyone can technically spoof your name and email in a Git commit.

By using GPG (GNU Privacy Guard), you "seal" your commits with a private key that only you possess. GitHub then uses your public key to verify that seal.

Why Git Says 'No Existing Author Found' and How to Fix It

· 5 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

This error usually pops up when you're trying to use the --author flag during a commit or a rebase, and Git is failing its "detective work."

Unlike a simple text label, the --author flag triggers a search. Git tries to find a match in your existing history or your configuration. If your search string is too vague, has a typo, or doesn't match the required pattern, Git throws its hands up and says: fatal: No existing author found with 'XYZ'.

The Time Traveler’s Guide: How to Change Git Commit Authors

· 5 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Rewriting history in Git is a bit like time travel: it's powerful, but if you're not careful, you can create a messy alternate timeline. Since Git commits are cryptographically linked to their parent, changing an author changes the commit hash, which means you are technically replacing old commits with brand-new ones.

How to Find the Author of a Git Commit (with Email)

· 5 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Finding the person behind a line of code is one of the most common tasks in Git—whether you're giving credit, asking for clarification, or (let’s be honest) finding out who broke the build.

In Git, every commit stores two distinct identities: the Author (who wrote the code) and the Committer (who put it into the repository). Usually, they are the same person, but they can differ during rebases or cherry-picks.

SOLVED - fatal: Not possible to fast-forward, aborting

· 6 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

This error is Git’s way of saying: "I can't just stack your new commits on top of the remote ones because the history has split."

In technical terms, your local history and the remote history have diverged. You have commits that the server doesn't, and the server has commits that you don't. Git is refusing to "Fast-Forward" (which essentially means "just move the pointer forward") because there is nowhere straightforward to move it to.

Here are 5 ways to solve this, ranked from "Standard Practice" to "Nuclear Option."

How to Checkout a Single File from Another Git Branch

· 5 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Sometimes, you may want to retrieve a specific file from another branch in a Git repository without switching branches completely. This is particularly useful when you want to grab a specific version of a file for debugging, rollback, or review.

In this guide, we’ll walk through how to checkout a single file from another branch using Git. We’ll cover multiple scenarios with examples and best practices.