I have a Git repository from which I want to delete all previous commits.
The reason I tested the command files, now I want to "start with" with the repository.
Is it possible?
Delete the .git and git init 'directory again to start over.
If you made any configuration in the repo, you can always backup .git / config before deleting .git.
Why not just delete the folder containing the repository and create a new one?
If you want to keep the latest versions of files, you can simply delete the directory .gitin the top level directory of the repository.
.git
, , .git.
Source: https://habr.com/ru/post/1760432/More articles:Использование архитектуры RESTful для доступа к многомерным данным - restРегулярное выражение PHP для соответствия цене или количеству - phpSingle-file ASPX and LINQ - c #remote network location using invoke command on remote computer does not work - powershellhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1760431/svn-folder-not-repository-wide-permissions&usg=ALkJrhgk4sN9hnJiK4Jlnnt5CqvZm3f1XwPrevent the user from making a GET request to the page - javaHow to parse actual code like stackoverflow / intellisense / etc? - parsingprevent tween from resetting - android - androidWebReference and Source Control - version-controlThe name of the scrambled class is passed to spl_autoload_call via call_user_func - phpAll Articles