mbien commented on PR #11:
URL: 
https://github.com/apache/netbeans-mavenutils-archetypes/pull/11#issuecomment-2345272140

   second attempt using [`git 
filter-repo`](https://github.com/newren/git-filter-repo)
   
   ```
   (destructive repo filter!)
   clone nbm repo
   git filter-repo --path src/ --path pom.xml
   move files into right folder if needed + commit
   ```
   push into a [remote 
branch](https://github.com/mbien/netbeans-mavenutils-archetype-nbm-archetype/tree/reduced-history-for-import),
 now merge to target repo similar to attempt 1
   ```
   git merge --no-ff --no-commit --allow-unrelated-histories 
nbm/reduced-history-for-import
   ```
   
   
   this reduces it to 1139 commits. This does make sense though since most 
commits are going to be in the source folder anyway - so the filter isn't worth 
the trouble here. At least I learned about `felter-repo` which is the 
recommended way to run branch filters now.


-- 
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: notifications-unsubscr...@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to