I would like to 'git clone' from a remote repository with boilerplate code, but treat it as new repository created via 'git init', meaning I don't want it to have remote/origin and any commit history.
Basically what I want to achieve is in effect similar to doing:
git clone [remote_url]
rm -r .git
git init
But I am wondering if there is a git way to do it.