My dotfiles became so big that cloning it even using depth 1
is a pain in the ass. Yeah, I have a very slow internet connection. That's why I need to reset the history.
$ # Reset history
$ rm -rf .git
$ # Re-initialize
$ git init
$ # Add file contents to index
$ git add .
$ # Commit the files in your repo
$ git commit -m "nuked history"
$ # Add remote origin
$ git remote add origin [email protected]:/.git
$ # Push to the github remote repo, will overwrite history
$ git push -u --force origin master