Thread View: linux.kernel.git
2 messages
2 total messages
Started by Jordan K
Thu, 19 Nov 2026 09:54
Branch Awareness
Author: Jordan K
Date: Thu, 19 Nov 2026 09:54
Date: Thu, 19 Nov 2026 09:54
22 lines
11802 bytes
11802 bytes
I have a situation at my current workplace that led me to consider this feature: We crudely pass around a `settings.py` file that doesn't match the one stored in our `main` branch, as many workplaces do. Feature request: Allow `.gitignore` branch awareness, so that changes/the existence of a specific file are ignored in all branches that are not `specific-branch-name` or ignore the file in ONLY `specific-branch-name` Sor of like a whitelist/blacklist flag (there should be an option to use either). I think this is an impactful feature, as many git users have situations where they need to ignore Django migration files, local settings files, compiled binary changes, etc etc but those files _do_ need to exist and be included on the staging/main branches Regards Jordan Kadish
Re: Branch Awareness
Author: Ben Knoble
Date: Sat, 21 Nov 2026 02:38
Date: Sat, 21 Nov 2026 02:38
13 lines
11091 bytes
11091 bytes
> Le 19 nov. 2026 à 04:54, Jordan K <jordankadish93@gmail.com> a écrit : > > I have a situation at my current workplace that led me to consider this feature: > > We crudely pass around a `settings.py` file that doesn't match the one > stored in our `main` branch, as many workplaces do. We sometimes carry « .env.example » that folks should modify into « .env », which is ignored.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads