gh auth login
command.
gh repo collaborator remove
command to remove the outside collaborator from the repository. For example, if the username of the outside collaborator is “exampleuser”, you can use the following command to remove them:
gh repo collaborator add
command to add them back to the repository with the appropriate access level. For example, if you want to add the user “exampleuser” back to the repository with read access, you can use the following command:
gh repo collaborator
command.