![]() Remote: Enumerating objects: 66417, done. I will be cloning a repository for explaining the usage of the prune command: % git clone To begin with, we will clone one of the git repositories or even create your own repository using git init. We will use a simple example to see how this works. …will remove only the objects that are older than the stipulated time. The following command: git prune –-expire …will show the progress made by git prune. The command given below: git prune –-progress …will report all the actions and its associated objects. Instead, it will indicate what the output will be if this operation is performed. The following command: git prune –-dry-run This will prune the data along with many other housekeeping tasks. ![]() ![]() Users need not call the git prune command directly, but can call git gc, the git garbage collection command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |