79822845

Date: 2025-11-17 22:43:09
Score: 1.5
Natty:
Report link

enter image description here Thanks everyone for the inputs. I think there’s a misunderstanding about what I’m referring to when I say nested branching.

I’m not talking about:

What I mean is something structurally different that Git does not support:
a branch that logically belongs to another branch, with an actual parent–child relationship stored in the VCS metadata.

Something like:

main
 └── feature-A
       └── A1-sub-feature
            └── hotfix-A1-1

where:

In Git:

So the kind of nested branching I’m talking about requires:

This isn't possible in Git because Git branches are intentionally very lightweight (just a ref → commitID).
The parent branch does not “own” the sub-branch in any structural way.

My use case is a combined Task Management + Versioning System, so nested branches map to:

Each with their own file changes, discussions, and merges.

So to summarize:

Git supports branching-from-a-commit.
Git does not support hierarchical, metadata-aware, parent-scoped nested branches.

That’s the feature I’m trying to build in my system.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): enter image description here
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: TechieeRaman