Closed selvaonline closed 8 years ago
Hmm...something tells me this might be the wrong repo for this question 😛
well, this is "ask me anything" :)
if you truly do want to delete the history, remove the .git
folder from you local clone, then run git init
and re-add / commit everything.
from within the cloned project folder, do this:
rm -rdf .git
git init
git add -A
git commit -m "creating repo with no history"
this will give you a brand new repository with a single commit, and no history.
I have followed the steps from the below documentation from angular-seed github page and created a new project and pushed my project to github as https://github.com/selvaonline/StickyTodos , but still i am seeing the history of old remote angular-seed's history and contributors. I have done unshallow my old cloned repo but still i am getting the old history.
From Angular-Seed Documentation which i followed... If you just want to start a new project without the angular-seed commit history then you can do:
git clone --depth=1 https://github.com/angular/angular-seed.git The depth=1 tells git to only pull down one commit worth of historical data. Steps which involved to create the github project
So i have my angular-seed cloned local repo and it has been pushed to github remote repo. What is the best solution you can give me to remove the angular-seed's history from my project?