I have a lot of code in one Code Repository that I would like to move to a different repository, but I don't really want to copy paste file by file. I know that the repos are git based, but what exactly would I need to copy?
For example
# Copy code from RepoA
/transforms-python/src/myproject/**/*.py
# to RepoB
/transforms-python/src/myproject/**/*.py
Before diving into the details, it’s worth reflecting on why it may be necessary to copy code from one Code Repository to another. For example:
Let’s now assume that the reason for copying code is a good one, and you’re trying to copy code from RepoA to RepoB.
Here’s the whole terminal flow upfront, below you’ll find steps that explain it:
Step-by-step explanation:
Additional things to consider: