DIFF.BLOG
New Following Discover Jobs
More
Top Writers Suggest a blog Upvotes plugin
Report bug Contact About Privacy
+
Create new post Create new blog
Add your blog
Sign up
Topics
Follow your own topics →
Menu
New Following Discover Jobs Top Writers
More
Suggest a blog Upvotes plugin Report bug Contact About
Sign up
Privacy Policy
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS

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 · Dec. 1, 2026, 7:30 a.m.
Git Branching Version control software development
Summary
This post provides a detailed explanation of Git branching concepts, including the distinction between creating and switching branches, merging, and the nuances of branch deletion commands. It emphasizes the simplicity of branch creation and highlights potential errors users might encounter with local changes.
Read full post on jhooq.com →
MORE POSTS LIKE THIS
git: update master to main
Thiago Perrotta · Jan 3, 2025
Git Branching
This Week in Source Control: 2 December 2026
Andrew Nesbitt · Dec 2, 2026
Git Weekly
Git Squash Commits - Interactive Rebase, merge --squash and reset --soft Compared, with Real Output, the Force-Push Rejection, and the Undo with ORIG_HEAD
Rahul Wagh · Dec 2, 2026
Git Version control
Pushing to main still needs a process
Flaviocopes · Oct 25, 2026
Git software development
Maybe a better way to track the release history of a Git repo
Mark Dominus · Oct 6, 2026
/prog/git Git
Resolve `git am` Merge Conflicts
Leo · Sep 6, 2026
Git Version control
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub Continue with Google
By continuing, you agree to our Privacy Policy.