Jhooq
open-menu closeme
Home
Ansible
Kubernetes
Terraform
Google Cloud
YouTube
Tools
About
Contact
github twitter linkedin rss
  • Git Diff Tutorial - Unstaged, --staged, Between Commits and Branches, --stat, --word-diff and --check, with Real Output from git 2.43.0 and the Empty-Diff Surprise

    calendar Dec 5, 2026 · 14 min read · Git  ·
    Last Modified : Dec 5, 2026
    Share on: twitter facebook linkedin copy
    Git Diff Tutorial - Unstaged, --staged, Between Commits and Branches, --stat, --word-diff and --check, with Real Output from git 2.43.0 and the Empty-Diff Surprise

    TL;DR git diff compares two things and prints what is different. With no arguments it compares your working tree to the staging area (the index). With --staged it compares the index to the last commit. With HEAD it compares the working tree to the last commit. The git diff reference lists every form. git diff printing …


    Read More
  • Git Bisect Tutorial - Find the Commit That Broke Your Code with git bisect run, Exit Code 125 to Skip, and the Wrong-Mark Mistake (Real Output from git 2.43.0)

    calendar Dec 4, 2026 · 16 min read · Git  ·
    Last Modified : Dec 4, 2026
    Share on: twitter facebook linkedin copy
    Git Bisect Tutorial - Find the Commit That Broke Your Code with git bisect run, Exit Code 125 to Skip, and the Wrong-Mark Mistake (Real Output from git 2.43.0)

    TL;DR git bisect is a binary search over your history. You give it one bad commit and one good commit; it checks out the commit halfway between and asks whether that one is good or bad, then halves the range again. The git bisect reference ends the process with "a description of the first bad commit" and …


    Read More
  • Git Rebase Drop Commit - Remove a Commit from History with drop, Compared with git revert, with Real Output for the Conflict, the Silent sed Typo and the Force-Push Rejection (git 2.43.0)

    calendar Dec 4, 2026 · 12 min read · Git  ·
    Last Modified : Dec 4, 2026
    Share on: twitter facebook linkedin copy
    Git Rebase Drop Commit - Remove a Commit from History with drop, Compared with git revert, with Real Output for the Conflict, the Silent sed Typo and the Force-Push Rejection (git 2.43.0)

    TL;DR git rebase -i <base>, then change pick to drop on the line of the commit you want gone. Git replays the remaining commits on top of <base> without it. The git rebase reference describes drop as: the commit will be dropped. Every commit after the dropped one gets a new hash, because its parent changed. …


    Read More
  • Git Commit Amend - Fix the Last Commit Message, Add a Forgotten File, Change the Author, and Why git push --force-with-lease Can Still Delete a Teammate's Commit

    calendar Dec 3, 2026 · 12 min read · Git  ·
    Last Modified : Dec 3, 2026
    Share on: twitter facebook linkedin copy
    Git Commit Amend - Fix the Last Commit Message, Add a Forgotten File, Change the Author, and Why git push --force-with-lease Can Still Delete a Teammate&#39;s Commit

    TL;DR git commit --amend does not edit a commit, it replaces it. The new commit has the same parent and the same author as the old one, but a different hash, and the branch pointer moves to it. The git commit reference calls it "a rough equivalent" of git reset --soft HEAD^ followed by git commit -c …


    Read More
  • Git Stash Tutorial - stash, pop vs apply, -u for Untracked Files, stash branch, and What Happens When git stash pop Hits a Conflict (Real Output from git 2.43.0)

    calendar Dec 3, 2026 · 10 min read · Git  ·
    Last Modified : Dec 3, 2026
    Share on: twitter facebook linkedin copy
    Git Stash Tutorial - stash, pop vs apply, -u for Untracked Files, stash branch, and What Happens When git stash pop Hits a Conflict (Real Output from git 2.43.0)

    TL;DR git stash saves your uncommitted changes to a stack and resets the working tree to HEAD. git stash push -m "message" is the form I use, because the message is what you read later in git stash list. The git stash reference marks the older git stash save as deprecated in favour of git stash push. pop = …


    Read More
  • Git Squash Commits - Interactive Rebase, merge --squash and reset --soft Compared, with Real Output, the Force-Push Rejection, and the Undo with ORIG_HEAD

    calendar Dec 2, 2026 · 16 min read · Git  ·
    Last Modified : Dec 2, 2026
    Share on: twitter facebook linkedin copy
    Git Squash Commits - Interactive Rebase, merge --squash and reset --soft Compared, with Real Output, the Force-Push Rejection, and the Undo with ORIG_HEAD

    TL;DR Squashing means replacing N commits with one commit that has the same final file contents. Git has no git squash command; you get it from git rebase -i, git merge --squash or git reset --soft. Interactive rebase (git rebase -i main): keep pick on the first line, change the lines below it to squash (keep every …


    Read More
  • What Is Git - How Git Stores a Commit as Commit, Tree and Blob Objects, with Real git cat-file Output

    calendar Dec 2, 2026 · 14 min read · Git  ·
    Last Modified : Dec 2, 2026
    Share on: twitter facebook linkedin copy
    What Is Git - How Git Stores a Commit as Commit, Tree and Blob Objects, with Real git cat-file Output

    TL;DR Git is a distributed version control system. Every clone holds the full history, so you can commit, branch and read the log with no server. The Git book describes it as storing snapshots of your files, not a list of file changes. Underneath, Git is a content-addressable key-value store. You give it content, it …


    Read More
  • Git Branching Explained: git branch, git switch, merge and delete, with Real Output for Fast-Forward, Merge Commits and the -d vs -D Error

    calendar Dec 1, 2026 · 13 min read  ·
    Last Modified : Dec 1, 2026
    Share on: twitter facebook linkedin copy
    Git Branching Explained: git branch, git switch, merge and delete, with Real Output for Fast-Forward, Merge Commits and the -d vs -D Error

    TL;DR A branch is a pointer, not a copy. In my repository .git/refs/heads/main was a 41-byte file: 40 hex characters of a commit ID and a newline. Creating a branch writes one such file, which is why it takes no noticeable time and no extra disk. git switch -c <name> creates a branch and moves to it. git branch …


    Read More
  • DevOps Is Not for Beginners? The 6 Basics an Interviewer Asked For - Routing, Ports, a Slow Linux Machine, Stateful vs Stateless Firewalls, Web Servers and DNS - Each Answered on a Real Machine

    calendar Nov 30, 2026 · 17 min read · Career  ·
    Last Modified : Nov 30, 2026
    Share on: twitter facebook linkedin copy
    DevOps Is Not for Beginners? The 6 Basics an Interviewer Asked For - Routing, Ports, a Slow Linux Machine, Stateful vs Stateless Firewalls, Web Servers and DNS - Each Answered on a Real Machine

    TL;DR The claim "DevOps is not for beginners" came from an interviewer, not from a beginner. He could not fill a DevOps position and posted the basics his candidates could not explain. The six basics: how networking and routing work, what ports are, how to troubleshoot a slow Linux machine, what a firewall is …


    Read More
  • Docker MCP Gateway on Linux without Docker Desktop - Fix 'docker: unknown command: docker mcp', Install the CLI Plugin, Profiles, Claude Code, and What Does Not Work

    calendar Nov 30, 2026 · 14 min read · Docker  ·
    Last Modified : Nov 30, 2026
    Share on: twitter facebook linkedin copy
    Docker MCP Gateway on Linux without Docker Desktop - Fix &#39;docker: unknown command: docker mcp&#39;, Install the CLI Plugin, Profiles, Claude Code, and What Does Not Work

    TL;DR docker: unknown command: docker mcp means the CLI plugin is not installed. Docker Desktop ships it; Docker Engine on a Linux server does not (Docker 28.0.4, Ubuntu 24.04, 2026-11-30). The fix is one 17.3 MB download: take docker-mcp-linux-amd64.tar.gz from a release tag of docker/mcp-gateway and unpack it into …


    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • 4
    • 5
    • »
    • »»

Categories

TERRAFORM 69 AWS 51 KUBERNETES 30 DOCKER 29 ANSIBLE 15 GITHUB 14 HELM CHART 12 DEVOPS 9 GOOGLE CLOUD 8 BLOGGING 6 SSL 6 SPRING BOOT 5 AZURE 4 QUARKUS 4
All Categories

AI1 ANSIBLE15 AWS51 AZURE4 BLOGGING6 DEVOPS9 DOCKER29 GITHUB14 GOOGLE CLOUD8 GRADLE1 HADOOP1 HELM CHART12 HIBERNATE1 JENKINS2 KUBERNETES30 KUBESPRAY3 LINUX COMMANDS1 NGINX2 PROMETHEUS-GRAFANA3 QUARKUS4 SPRING BOOT5 SSL6 TERRAFORM69 VAGRANT3
[A~Z][0~9]

Series

TERRAFORM 67 AWS 40 KUBERNETES 30 DOCKER 29 ANSIBLE 14 HELM CHART 12 GOOGLE CLOUD 8 AZURE 4 DEVOPS 4 JENKINS 2 AI 1 LINUX COMMANDS 1

Tags

KUBERNETES 22 TERRAFORM 13 HELM CHART 11 GIT 8 BLOGGING 4 DOCKER 4 QUARKUS 4 ANSIBLE 3 CAREER 3 GITHUB 3 SSL 3 KUBESPRAY 2 SPRING BOOT 2 ANSIBLE INSTALLATION 1
All Tags

ANSIBLE3 ANSIBLE INSTALLATION1 AWS1 AZURE1 BLOGGING4 CAREER3 DEVOPS1 DOCKER4 GIT8 GITHUB3 HADOOP1 HELM CHART11 INDEX1 KUBERNETES22 KUBESPRAY2 NGINX1 PATH1 QUARKUS4 SECRETS1 SECURITY1 SPRING BOOT2 SSL3 TERRAFORM13 TERRAFORM ERRORS1 ZSH1
[A~Z][0~9]

Recent Posts

  • Git Diff Tutorial - Unstaged, --staged, Between Commits and Branches, --stat, --word-diff and --check, with Real Output from git 2.43.0 and the Empty-Diff Surprise
  • Git Bisect Tutorial - Find the Commit That Broke Your Code with git bisect run, Exit Code 125 to Skip, and the Wrong-Mark Mistake (Real Output from git 2.43.0)
  • Git Rebase Drop Commit - Remove a Commit from History with drop, Compared with git revert, with Real Output for the Conflict, the Silent sed Typo and the Force-Push Rejection (git 2.43.0)
  • Git Commit Amend - Fix the Last Commit Message, Add a Forgotten File, Change the Author, and Why git push --force-with-lease Can Still Delete a Teammate's Commit
  • Git Stash Tutorial - stash, pop vs apply, -u for Untracked Files, stash branch, and What Happens When git stash pop Hits a Conflict (Real Output from git 2.43.0)
  • Git Squash Commits - Interactive Rebase, merge --squash and reset --soft Compared, with Real Output, the Force-Push Rejection, and the Undo with ORIG_HEAD
  • What Is Git - How Git Stores a Commit as Commit, Tree and Blob Objects, with Real git cat-file Output
  • Git Branching Explained: git branch, git switch, merge and delete, with Real Output for Fast-Forward, Merge Commits and the -d vs -D Error

Rahul Wagh

Jhooq
Its all about Open Source and DevOps, here I talk about Kubernetes, Docker, Java, Spring boot and practices.
Read More


Jhooq

Copyright 2019-  JHOOQ. All Rights Reserved

to-top
Privacy Policy