How to clone seed/kick-start project without the whole history?

itamar picture itamar · Apr 20, 2015 · Viewed 19.8k times · Source

Note that using --depth=1 parameter prevents you from pushing the project to a new repository.

Answer

Ajay picture Ajay · Apr 20, 2015

You can do a

git clone <git_url>

delete the .git repository from your folder. Which will delete all your history.

The you can do a

git init 

which will create an entirely new git project for you.

This may not be the best way. But this will work . Hope it helps.