How to version project schedules, to-dos, wikis etc. in Git? [closed]

爱⌒轻易说出口 提交于 2019-12-02 06:58:24
VonC

You could have those files (wiki, todo and so forth) in their dedicated Git repository, and then add them to a development repository through the subtree merge strategy (as described in this question).

That way, they get included in any development, and they also get updated by those sub-projects.

Any modification in a branch doen by a sub-project can then be merged back in a "main" branch in the original "wiki" Git repository, and all sub-projects can merge their own development branch with that main "wiki" branch in order to update this content included through a subtree merge.

Not exactly an "orthogonal" versionning, but still a practical solution.

I usually prefer to use a separate tool for scheduling, issue tracking, wiki docs etc. For example, Trac provides such features and integrates nicely with a git backend. Source control is used only for, well, source control.

If you want to use a source control tool for storing project management data, consider having separate projects in the source control for "management" and "implementation".

Can't you just have one universal/project wide branch, then a bunch of project branches?

You could use git submodule to insert a reference to the project wide repo onto all your repositories.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!