Skip to content
Discussion options

You must be logged in to vote

Fixing the Problem
✅ A. If You Were Added as a Collaborator (with access)
Yes, the owner can remove you:

Go to Repo Settings → Collaborators and Teams

Find your global (Account A) username

Click Remove

👉 This completely removes your access.

⚠️ B. If You’re Listed as a Contributor (because of commits)
This cannot be removed manually. GitHub shows contributors based on email in commits, and only rewriting Git history (or force-pushing rewritten commits) removes a contributor from that list.

➤ How to Remove Yourself as Contributor:
Repo owner must:

Rewrite commit history with correct author info (using git filter-branch or git rebase)
Force-push updated history to GitHub
Optionally, delete t…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Shivam-Joshi-1803
Comment options

Answer selected by RyuZinOh
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Repositories The core of version-controlled code storage Question Ask and answer questions about GitHub features and usage
3 participants