mbien commented on PR #11: URL: https://github.com/apache/netbeans-mavenutils-archetypes/pull/11#issuecomment-2345166139
I tried and got the exact same commit count :( ``` cd target repo add other repo as remote git fetch --all checkout other repo's branch, prepare it, e.g move files into folder checkout target repo master again git checkout -b nbm-archetype-repo-import git merge --no-ff --no-commit --allow-unrelated-histories prep "git reset" all files which are not needed "git commit" repo import commit ``` I don't understand why there are commits like 17fa03f59bf844a19d12669e7410443a8d6f8391 in it. I thought git reset during merge would drop unrelated history. -- 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] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
