Update README with "common" remote

Add instructions for adding subtree using a remote called "common". You
need the remote to properly contribute back upstream from a child
project.
This commit is contained in:
ducoterra
2021-11-02 11:45:57 -04:00
parent 9eed50962c
commit 9d0c9c6388

View File

@@ -2,7 +2,8 @@
```bash ```bash
# Add the subtree as a remote # Add the subtree as a remote
git subtree add --prefix .gitlab git@gitlab.ducoterra.net:services/common.git main --squash git remote add common git@gitlab.ducoterra.net:services/common.git
git subtree add --prefix .gitlab common main
# Now you can run the following to update # Now you can run the following to update
make make-update make make-update