git-subrepo

Two git repositories in one directory?

核能气质少年 提交于 2019-12-17 02:54:18
问题 Is it possible to have 2 git repositories in one directory? I'd think not, but thought I'd ask. Basically, I'd like to check in my home directory config files (e.g. .emacs) which should be common across all of the machines I work on, but have a second repository for local files (e.g. .emacs.local), which contains machine-specific configurations. The only way I can think of to do that is to have the local config in a subdirectory and ignore that subdirectory from the main git repository. Any

git submodules, subtrees or else

风流意气都作罢 提交于 2019-12-11 07:57:57
问题 Probably, i misunderstood how git works, I have my directory structure as follows: project (git-repo) project 1 (git-repo) project 2 (git-repo) common scripts (git-repo) All these folders have their own repositories where the main project can have child repositories such as project 1 , project 2 , child scripts . They can be submodules or subtree. The problem, the common scripts contain some of the codes that is common and essential to build both project 1 and project 2 . What can be best

Alternatives to Git Submodules?

自闭症网瘾萝莉.ら 提交于 2019-11-27 03:00:17
I feel that using Git submodules is somehow troublesome for my development workflow. I've heard about Git subtree and Gitslave. Are there more tools out there for multiple repository projects and how do they compare ? Can these tools run on Windows ? Which is best for you depends on your needs, desires, and workflow. They are in some senses semi-isomorphic, it is just some are a lot easier to use than others for specific tasks. gitslave is useful when you control and develop on the subprojects at more of less the same time as the superproject, and furthermore when you typically want to tag,

Alternatives to Git Submodules?

二次信任 提交于 2019-11-26 10:19:25
问题 I feel that using Git submodules is somehow troublesome for my development workflow. I\'ve heard about Git subtree and Gitslave. Are there more tools out there for multiple repository projects and how do they compare ? Can these tools run on Windows ? 回答1: Which is best for you depends on your needs, desires, and workflow. They are in some senses semi-isomorphic, it is just some are a lot easier to use than others for specific tasks. gitslave is useful when you control and develop on the