Questions tagged [git-subrepo]

git-subrepo command "clones" an external git repo into a subdirectory of your repo. Later on, upstream changes can be pulled in, and local changes can be pushed back.

git-subrepo command clones an external git repo into a subdirectory of your repo. Later on, upstream changes can be pulled in, and local changes can be pushed back.This command is an improvement from git-submodule and git-subtree. All the subrepo commands use names of actual Git commands and try to do operations that are similar to their Git counterparts.

32 questions
0
votes
1 answer

Include other branch as subdirectory?

I'm trying to set up a branch such that branchA has subfolders A and B, but B contains the contents of branchB. I've been looking at submodules, subtrees, and subrepos, but I can't figure out what would do what I am looking for. In order to prevent…
Dessa Simpson
  • 1,232
  • 1
  • 15
  • 30
0
votes
2 answers

Version a "starter kit" to work upon in other projects

All my projects have the same structure, base files (each containing some code). Things I would like : Version this code ; Use it in other projects ; Be able to update it in those projects ; Only add code in those files, specific to each project…
1 2
3