The all new all-singing Kafka Connector docs project, extracted from https://github.com/couchbase/kafka-connect-couchbase
brew install git-filter-repo
# download *new* copy
gh repo clone couchbase/kafka-connect-couchbase
git clone kafka-connect-couchbase docs-kafka
cd docs-kafka
# checkout all the different release tags in turn
# remove noise from millions of tags
git remote rm origin
git branch -m master main
git filter-repo --subdirectory-filter docs/ --refs main release/4.0 release/4.1 release/4.2 release/4.3 release/alder release/cypress
# run filter-repo again with --force
# we know this is OK this time, because this *is* a new checkout!
# create README.adoc
git add README.adoc
git commit -m "AV-80236: add README"
git remote add origin [email protected]:couchbase/docs-kafka.git
git push -u origin main