The workaround I found is:
git fetch st develop git cherry-pick -Xsubtree=foo <first_commit_to_cherry-pick>^..FETCH_HEAD
You have to deduce <first_commit_to_cherry-pick> manually, though.
<first_commit_to_cherry-pick>