---
title: "Discussion on \"Prefer branching from main (or master), not from another feature branch — unless explicitly required\" | Hashnode"
description: "Discussion on \"Prefer branching from main (or master), not from another feature branch — unless explicitly required\". 🚦 The Rule\n“Always create a new branch from main (or master), not from another feature branch.”\n\n❓ Why This Rule Exists\n\nAvoid Carrying Unrelated Changes\n\nIf you branch off from another feature branch, your new branch will contain:\n\nYour changes + a..."
url: "https://hashnode.com/posts/prefer-branching-from-main-or-master-not-from-another-feature-branch-unless-explicitly-required/68a4588367ea5b8151363efd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Prefer branching from main (or master), not from another feature branch — unless explicitly required](https://internship-learnings.hashnode.dev/prefer-branching-from-main-or-master-not-from-another-feature-branch-unless-explicitly-required?utm_source=hashnode&utm_medium=feed)

🚦 The Rule “Always create a new branch from main (or master), not from another feature branch.” ❓ Why This Rule Exists Avoid Carrying Unrelated Changes If you branch off from another feature branch, your new branch will contain: Your changes + a...

Aug 19, 2025 · 2 min read · internship-learnings.hashnode.dev  
Read the article

-   [#github](https://hashnode.com/tag/github)
-   [#git](https://hashnode.com/tag/git)
-   [#git-branching](https://hashnode.com/tag/git-branching)
-   [#git-branch](https://hashnode.com/tag/git-branch)
-   [#github-actions-1](https://hashnode.com/tag/github-actions-1)
-   [#git-branch-management](https://hashnode.com/tag/git-branch-management)

## Written by

[Rohit K](https://hashnode.com/@ak01rohit)

@ak01rohit · New Delhi, Greater Noida

  
[View profile](https://hashnode.com/@ak01rohit)

🎓 B.Tech CSE | 👨‍💻 Learning DSA &amp; C++ | 🚀 Building projects &amp; writing what I learn | 📚 Currently solving LeetCode &amp; exploring Git/GitHub

## Responses

Comments are turned off for this post.
