r/git • • 8h ago

Does anyone use Git as a team knowledge base?

8 Upvotes

I’m wondering if anyone uses Git to manage their team’s business knowledge, not just technical documentation.
For example, as a business analyst in a banking team, you might accumulate business analyses, product sheets, business rules, process descriptions, manuals, and other documents over the years.
Instead of scattering everything across Confluence, SharePoint, and Word files, what if you kept it in a structured Git repository, using Markdown where possible?
The goal would be to have one searchable knowledge base that makes it easier to find information and could also be used by AI tools.


r/git • • 6h ago

GitHub - srdzank/snmp-mib-browser-windows: Native Windows SNMP MIB Browser & OID Scanner. Fast, lightweight C++ desktop utility with zero telemetry. Download, release notes, and issue tracker.

Thumbnail github.com
1 Upvotes

r/git • • 10h ago

Cherry-pick just 2 files

2 Upvotes

I've got 14 commits on a branch called Refactor_Python. It's 30 files, I have been asked by my boss to stage just 2 of the files for develop and also stage the same 2 files for another branch called release/v4.11. Now as I understand git I cannot stage changes for 2 branches at once without pushing them up to remote (yeah he likes going direct, none of this branchy thing which I prefer, not judging, it's just my confidence level is not there yet.) So this is a question about doing it with no branches. I already pushed my Refactor_Python branch, so I cannot rebase it without some level of pain, I'm happier to just delete my personal branch afterwards. If my boss had spoke earlier I would have just made 2 branches on with 2 files and one with 28 files, but I'm keen to learn:

So I suspect if I cherry-pick all commits that those 2 files are in, using git cherry-pick -n <commit> and then git add file1 file2 the result as a single commit, into develop, I would be able to push it and then just cherry-pick that single commit over again, but, into the release/v4.11 branch instead after I pushed it up to develop?

My second question is, if I than want to pick all the changes to the remaining 28 files and merge them to develop, that if I later cherry-pick all 14 commits with -n again, that git will just effectively let me merge the result into develop without too much arguing, or will it merge conflict me when I try to push because the changes to the first 2 files are already there?