Hello Everyone
I have a repository that I I have split into a child
package/library/repository and a parent
repository. I have both in separate VSCode projects.
So when I update the child
and want the parent to catchup , I currently:
- commit a new version of
child
- sync (push) the commit
- copy the commit id
- switch to the
parent
VS Code editor - use
go get -u <githuburl>@<commitid>
This works (but is a bit of a pain). But more importantly sometimes my child
commit doesn’t work so I have to bounce back and forth between parent
and child
committing new version of child
until things are working again (creating spurious commits)…
What I would like to do is :
- save to
child
- Run
parent
with local copy ofchild
- When it’s working - then do the
child
commit+push
N.B. I still need to run/build parent
with the commit
child to check deployment for other users. I might need another VSCode project just for this…that basically pulls from both latest commits…
Does anyone have a better approach that they have been using?
Thank you in advance - Andy