Skip to content

DevToolHub

Practical guides to Git, CI/CD, AI tools, and AWS, Azure and GCP

  • Home
  • AI Tools
  • Cloud
  • Docker
  • Kubernetes
  • Git
  • GitHub Actions
  • About

Category: Git

Git Bisect Run: Find the Bad Commit Automatically

November 25, 2026 Amaresh Pelleti
git bisect diagram: a line of 1,001 commits halved by each test until the first bad commit is found in 10 runs

Git bisect finds the commit that broke something by binary search. You mark one commit good and one bad, and Git checks out the middle one for you to test. Add git bisect run and a test script, and it… Read moreGit Bisect Run: Find the Bad Commit Automatically

Git  debugging, git-bisect, version-control  Leave a comment

Git Rebase vs Merge: What Changes, Tested on Git 2.56

November 19, 2026 Amaresh Pelleti
Git rebase vs merge: merge keeps both histories and adds a merge commit, while rebase replays commits on top of main in a straight line

Git merge joins two histories and adds a merge commit, leaving every existing commit untouched. Git rebase replays your commits on top of another branch, so they get new SHAs and the history becomes a straight line. The git-rebase docs… Read moreGit Rebase vs Merge: What Changes, Tested on Git 2.56

Git  git-merge, git-rebase, version-control

Git Commit Message Conventions: Format, Hook and CI Check

November 18, 2026November 25, 2026 Amaresh Pelleti
Git commit message conventions: a type(scope): description subject checked by a commit-msg hook and a CI job

The git commit message conventions I would use are type(scope): description on the first line, a blank line, then an optional body. That is the Conventional Commits format. Git itself requires none of it, so a convention only helps if… Read moreGit Commit Message Conventions: Format, Hook and CI Check

Git  conventional-commits, git-hooks, version-control

Git Branch Naming Conventions: Patterns and a CI Check

November 17, 2026November 18, 2026 Amaresh Pelleti
Git branch naming conventions: a type/short-name pattern checked by a CI job

The git branch naming conventions I would use are a lowercase type/short-name pattern, such as fix/empty-password-crash, with an optional ticket number. Git enforces only a short list of hard rules. Everything else is a team agreement, so the useful part… Read moreGit Branch Naming Conventions: Patterns and a CI Check

Git  git-branches, GitHub, version-control

GitHub Flow: 6 Steps, Tested With the gh CLI and Rulesets

November 16, 2026 Amaresh Pelleti
GitHub flow: a short-lived branch goes through a pull request and merges into main

GitHub flow is a branch-per-change workflow: you branch off main, push commits, open a pull request, get a review, merge, and delete the branch. GitHub’s docs list exactly those six steps and no others. I ran all six in a… Read moreGitHub Flow: 6 Steps, Tested With the gh CLI and Rulesets

Git  GitHub, github-flow, pull-requests

Git Recover Lost Commits: 12 Fixes for Common Mistakes

November 13, 2026November 30, 2026 Amaresh Pelleti
Git recover lost commits: a reflog entry brings a commit back after git reset --hard

To git recover lost commits, run git reflog, find the hash from before the mistake, and point a branch at it with git branch rescue <hash>. Almost every local Git mistake can be undone this way, but only if you… Read moreGit Recover Lost Commits: 12 Fixes for Common Mistakes

Git  git-recovery, git-reflog, version-control

Git Pull vs Fetch: What Each Command Really Does

November 6, 2026November 16, 2026 Amaresh Pelleti
Git pull vs fetch: a remote repository connected to a local repository by git fetch and git pull arrows

git fetch downloads new commits and leaves your branch and your files alone. git pull runs a fetch and then merges or rebases the result into your current branch. The git pull vs fetch choice comes down to one question:… Read moreGit Pull vs Fetch: What Each Command Really Does

Git  git-fetch, git-pull, version-control

Git Reset vs Revert vs Restore: Which to Use

October 28, 2026November 13, 2026 Amaresh Pelleti
Git reset vs revert vs restore compared on three commits in a terminal

Use git reset to move your branch back, git revert to undo a commit with a new commit, and git restore to fix files without touching history. The git reset vs revert choice comes down to one question: has anyone… Read moreGit Reset vs Revert vs Restore: Which to Use

Git  git-reset, git-revert, version-control

Git 3.0: What Actually Breaks (SHA-256, Rust, More)

September 24, 2026November 16, 2026 Amaresh Pelleti
git 3.0 breaking changes showing SHA-256 default, reftable, and mandatory Rust build requirement

Git 3.0 changes the default hash function, the default reference storage format, the default branch name, and the build toolchain required to compile Git at all. None of this is speculation. It comes straight from git-scm.com’s own BreakingChanges documentation. That’s… Read moreGit 3.0: What Actually Breaks (SHA-256, Rust, More)

Git  git 3.0, sha-256, Version Control

Git 2.55: History Fixup, Rust by Default, Safer Checkouts

August 25, 2026November 16, 2026 Amaresh Pelleti
Git 2.55 new features overview diagram

Git 2.55 landed on June 29, 2026, and the headline change isn’t a new command — it’s a build requirement. Starting with this release, building Git from source requires a Rust toolchain unless you explicitly opt out. Alongside that, Git… Read moreGit 2.55: History Fixup, Rust by Default, Safer Checkouts

Git  cli, DevTools, version-control

Posts pagination

Page 1 Page 2 Page 3 … Page 5 Next page

Get the next DevToolHub guide

New guides on Git, GitHub Actions, AI tools, and cloud (AWS, Azure, GCP), delivered to your inbox. Subscribe for troubleshooting steps, configuration examples, and explanations of the trade-offs.

Topics

  • Home
  • AI Tools
  • Cloud
  • Docker
  • Kubernetes
  • Git
  • GitHub Actions
  • About
  • Blog
  • Privacy Policy
  • About
  • Affiliate Disclosure
  • Terms and Conditions
  • Resources
© 2026 All rights reserved
Go to top