This page is for integrators who will be bringing in code or changes to code from an external repository. This page describes the process where the code will be integrated into the ACME repository as a git subtree.
Step-by-step guide (or consult the flowchart)
- If the external code is new (no version is currently in ACME repository), skip to step x.
- If the external code is to be completely replaced, remove the code from your working copy. Then, skip to step z.
- Check to see if the version of the code in the ACME repository has been modified since the initial commit (see below). If there are no changes (blank output), skip to step y.
Removing original external code (external code initially installed with ACME v0.0)
cd <code-subdir>/..
git rm -r .
git commit -a
Checking for code modification (external code initially installed with ACME v0.0)
cd <code-subdir>
git diff --name-only v0.0 .
Related articles