assertion failed errors when trying to git subtree split assertion failed errors when trying to git subtree split git git

assertion failed errors when trying to git subtree split


This was probably due to the backslashes in --prefix (I was running Windows back then.)


Split -P can't gracefully handle directory path . Use following command instead -

git subtree split --prefix=plugins/rg-feed-client -b rg-feed-client

A few points to remember -

  1. Avoid prefixing ./ with path i.e instead of ./plugins/rg-feed-client use plugins/rg-feed-client

  2. Avoid any trailing / after the path , i.e NO plugins/rg-feed-client/