I started work on a repo and I don't need a story.
I want to start from scratch zero without a story?
Is it possible to simply delete the .git folder and run git init again.
.git
git init
But how will this affect my remote repositories?
cd "$PWD/`git rev-parse --show-cdup`" #go to the project root rm -rf .git
And then:
git init . #...
As for remote repositories, you will need git push --force in them (or click on a new, completely separate branch).
git push --force
Source: https://habr.com/ru/post/1236764/More articles:In go, how do I make global variables - gohttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1236760/delete-history-in-local-repository-instead-of-cloning-it-again-with-depth-1&usg=ALkJrhh9z8KmZy3R9LF-ahn4s6ZO4OYWmAShowing OpenCover results in TFS 2015 build - code-coverageGoogle Drive - Root ID - google-drive-sdkCalculate point between two coordinates based on percent - javascriptWhy is collection = objects on has_many: through trigger callbacks in a union model when an association is deleted? - callbackChecking Gearman Worker Status on a specific machine - phpSQL counter query with a join in one table - sqlforeign import request in LLVM - haskellHow to drag using javascript - javascriptAll Articles