#
DIFF.BLOG
New
Following
Discover
Jobs
More
Top Writers
Suggest a blog
Upvotes plugin
Report bug
Contact
About
Sign up
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS
Git Branches When Shallow Cloning
12
·
Blog Feld
·
April 28, 2026, 1:13 a.m.
tech
Git
Git
Shallow Cloning
Git commands
Developer tips
Summary
This post explains how to access another branch in a shallow git clone using the command `git fetch --depth 1 origin branch:branch`. It's a brief tip for developers who may find shallow clones confusing.
Read full post on blog.feld.me →
MORE POSTS LIKE THIS
git pull: authentication issues
Thiago Perrotta ·
Jun 3, 2025
Git
SSH
How to Make Something People (Actually) Give a Shit About
JA Westenberg ·
Jul 26, 2026
Impactful Work
Creative Strategies
How to put your Python project on GitHub
Python Developer Tooling Handbook – pydevtools.com ·
Jul 27, 2026
Python
Git
Sign Commits from Anywhere Without Your Keys Going Anywhere
Phil Haack ·
Jul 20, 2026
Git
Security
–end-of-options
Andrew Nesbitt ·
Jul 21, 2026
package managers
Security
The git history command deserves more attention
Lalit Maganti ·
Jul 14, 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