tkobayas commented on PR #4545:
URL: 
https://github.com/apache/incubator-kie-docs/pull/4545#issuecomment-2861255969

   FYI)
   Steps to move `drools-docs` into `incubator-kie-docs` preserving the commit 
history:
   ```
   # 1. Clone a fresh copy of the drools repo
   git clone https://github.com/apache/incubator-kie-drools.git drools-docs-only
   cd drools-docs-only
   
   # 2. Filter out everything except the drools-docs/ directory
   git filter-repo --path drools-docs/
   
   # 3. Add my incubator-kie-docs repo as a remote and fetch its main branch
   git remote add docs [email protected]:tkobayas/kie-docs.git
   git fetch docs
   
   # 4. Create import-drools-docs branch off docs/main and merge in the 
filtered history
   git checkout -b import-drools-docs docs/main
   git merge --allow-unrelated-histories main
   
   # 5. Resolve any conflicts, commit, then push import-drools-docs to my repo 
for a PR
   git push -u docs import-drools-docs:import-drools-docs
   ```
   When you will do the same for other docs repo, add `<module>` to the top 
level pom.xml.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to