I wanted clone repository from github. It had lot of history, So i wanted clone without any history.
Is it possible to clone git repository without history?
After cloned, you can delete the .git directory, then re-init the git to generate a totally new repo.
.git
$ git clone ... $ cd path/to/repo $ rm -rf .git $ git init