Search code examples
gitgithubrepositorygit-clonegit-fork

How to remove specific forked also local clone from main repository in GitHub?


I have created one private repository in GitHub, also given access to few more people to code along with me. Now I need to remove one guy from this particular repository.

He forked this repository and cloned it to his local system also. I need to remove both fork and local clone of his.


Solution

  • I need to remove both fork and local clone of his.

    Considering you (most likely) do not have access to "his local system", I believe you would need to request for that user to delete both (his fork on GitHub, and his local clone).

    The OP Ponsakthi Anand adds in the comments:

    I will not have access to his system for sure. I wonder any change GitHub will remove it from his using git

    Should you have access, then any removal will be the result of an action from your part, not of anything initiated from GitHub.

    But since you don't, no automatic deletion will be done.