Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create a branch in which to conduct the work. Be sure to follow the branch naming conventions and other development practices. If the external code is to be completely replaced, create the branch from the commit where the code was last brought into the ACME repository (similar for the procedure for fixing a bug). The branch name should follow the form github-username/component/component.<version>_import.
  2. If the external code is new (no version is currently in ACME repository), skip to step x5.
  3. If the external code is to be completely replaced, remove the code from your working copy. Then, skip to step z5.
  4.  Check to see if the version of the code in the ACME repository has been modified since the initial commit. If there are no changes (blank output), skip to step 6. <always go to step 6>
  5. Add external git repo to ACME. Now, skip to step y7.
  6. To bring in changes to external repo <fill this in with git subtree merge (and git remote add --tags?)>.

Important notes

  • When making a commit involving changes to code from an external source, you should make separate commits for that code and any ACME internal code. This allows got a clean extraction of history related to changes in the external source.

...

    git diff --name-only v0.0 .

Anchor
AddExternal2Repo
AddExternal2Repo
Add external git repo to ACME

git remote add --tags <external-code-name> <external URL>

...

    cd <ACME_top_level>
    git subtree add --prefix=<external_subdir> --squash <external_repo_URL> <external_branchname>
 

Filter by label (Content by label)
showLabelsfalse
max5
spacesSE
showSpacefalse
sortmodified
reversetrue
typepage
labelsRepository

...