4864.
8596.
.
Compatibility
This version is compatible with Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows Server 2016 TP, Windows Server 2016 TP.
References
Category:Windows software
Category:UpdatersQ:
git command for delete whole repo
Is there a git command for deleting the whole repo(branch,tag etc) from git repository.
A:
If you want to remove everything in the repository you can do
git filter-branch --prune-empty --tag-name-filter cat -- --all
If you want to move everything outside the repository
git filter-branch --prune-empty --prune-tags --reflog -- --all
but the above one may be slow if there's a lot of reflogs.
if you want to move everything outside the repository and restore it
git filter-branch --prune-empty --prune-tags --reflog -- --all --index-filter \n'git rm --cached -r --ignore-unmatch "^(refs/heads/)?master\.(?:$)"'
If you have tagged branches or tags and want to remove them as well
git filter-branch --prune-empty --tag-name-filter cat -- --all
If you want to move everything outside the repository and restore it
git filter-branch --prune-empty --prune-tags --reflog -- --all --index-filter \n'git rm --cached -r --ignore-unmatch "^(refs/heads/)?master\.(?:$)"'
A:
Using the --hard option with a reflog (-R) will cause the reflogs to be moved along as well. As all of these will remain, the total amount of reflogs is unchanged, but the reflogs only have the objects that were added after --hard (and no objects before).
So in your case, you would have a lot of reflogs without the master branch, for instance.
As for the rest, the only way to clean up the reflogs without moving them to a new repository is to find and delete the objects.
There are also tools to move the ref be359ba680
Related links:
Comentarios