git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Git private branch Feature Suggestion

From
Yynckz <yanckezcs@gmail.com>
Date
Sep 10, 2025, 23:28 UTC
Message-ID
<CAGyVUB5QLV+HQMWT+0kDu1_H0uXHK7kTy35WqhXQaETZ5if5EQ@mail.gmail.com>
Hi Git developers,

I have a request for you. Could you please add private branches? This is a really useful thing. Imagine that you want to publish your project as open source, but you need to hide the .env file in a separate repository. It's easier to do everything in one repository, but in a different branch. Maybe there is another way, and I'm just dumb as fuck, but here's another example: Say you don't want to release a new feature yet. To do so, create a private branch, make the feature there, then merge it into the main branch.

Maybe I'm a dumb ass, and don't need to ask this of you, but GitLab, etc., anyway, I'd appreciate it if you could add this feature.

Next: rsbecker@nexbridge.com
Message 1 of 5 in “Git private branch Feature Suggestion”
  1. ynckzSep 10, 2025
  2. rsbecker@nexbridge.comSep 10, 2025
  3. brian m. carlsonSep 11, 2025
  4. Henrique SoaresSep 11, 2025
  5. Kristoffer HaugsbakkSep 11, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.