I have two GitHub accounts. One from my work and my personal one, and i wanna merge these two.
I already read this doc: Merging multiple user accounts
But i still remain with two doubt:
After i add the same e-mail to my personal account. All my collaboration in repos will be transfered too?
the repos that my work account was a colaborator, my personal account will get the permision too?
They answered my ticket:
Contributions are linked to your email address, so adding your
existing email to your new account will transfer these over.
However collaboration and permissions in other repos is attached to
the account itself, not the email, so you will need to request to be
added as a collaborator again for any repos you currently collaborate
on.
Likewise, if you are a member of an organisation, you'll need to be
added to that organisation again and any teams you were a member of.
Commits are associated to your email: after transferring all the repos etc. and deleting your account, you need to add the previous email address (from the deleted account) to the new account in your account settings. The commit history will now be linked to your new account.
Related
Is it possible to merge two GitHub accounts into one?
I had one work account but would like to merge into a personal one.
I found some details about transferring ownership of the own repos which will merge all commit history etc.
Could anyone please confirm if it will transfer all commit history for any contributions made to another third party repos?
What will happen in the third party repos where I have made contributions from work account after the work account is deleted?
That is what describes "Merging multiple personal accounts"
And its repository transfer process (from the account you want to delete to the account you want to keep) should transfer issues, pull requests, and wikis.
You will need to add the email address you used to author the commits (of the old account) to the account you're keeping.
That way, your old contributions will be preserved.
I logged a support ticket with github and below is the summary:
After deleting work account and following steps as mentioned https://docs.github.com/en/repositories/creating-and-managing-repositories/transferring-a-repository did not bring contributions across to the personal account.
As work account was deleted - it started showing as a ghost account.
The commits made through work account were as from the personal acccount but contribution history (PR or any reviews) didn't come across to the personal account.
So make sure you think of above steps before removing any of your Github account.
Below were responses from Github:
As pull requests, issues and all activity in the GitHub web UI excluding commits are directly tied to the account that created them, they will not be counted on the new account even if you add the old account's email address to the new account.
Pull requests are replaced with the ghost user when the account is deleted. On the other hand, we read the email address from the metadata stored inside a commit and attempt to match commits up with a user account, so those that meet the contribution criteria will be counted on the new account.
I need to convert a personal GitHub account to an organization. Rather than creating a new account and transferring the repos as recommended in the Git docs, I'd prefer to convert the existing account, which then changes all activity associated with the personal account to the ghost account.
Is there a way to direct what would be assigned to ghost, to an existing github personal account -before- converting to an organization? In other words: reassign all personal activity associated with this account to another existing personal account?
As my organizational GitHub account is xyz#github.com and I have made a lot of contributions to that, and I really like the green dots, is there any way I can send the activity feed to my personal GitHub account from email id (abc#github.com)?
I just want to send these green dots to my personal email :(
feed image
You can't transfer activity from one account to another like that. The contribution graph lists all activity created by your account and only your account.
The only way you'd be able to transfer activity is if you removed the email address specified in the commits made by your organizational account and associated it with your personal account. Because GitHub uses the email address in the commits to attribute the commits to an account, that would make those commits be associated with your personal account.
However, this doesn't transfer activity other than commits from one account to another. This is intentionally not transferable because doing so can lead to misattribution and abuse.
I should point out that while the contribution graph is a neat feature, it's not a measure of your self-worth or your competence as a developer and so you shouldn't worry about how densely it's populated.
I have googled it a lot but didn't find any clear answer if it possible and how to do it.
I have an account from which I have contributions to a private repo. I don't have any repositories.
I want all those contributions to go to my new account (There I have repositories).
Is that possible? Do I still have access to that private repo after transfer the contributions?
You would need to rewrite commits which would create new hashes (the committer's name is part of the data used to calculate the hash).
This would mean all commits that reference these commits (the parent commits also being part of the data used to calculate the hash) would also need to be regenerated (rebase allows this to be done in bulk).
All of this would require forcing pushes as well (so all other contributor's local repositories are going to be impacted).
Even if github can automate some of this, it is a massive impact.
TL;DR: yes, but you probably should accept it is hard to rewrite history.
Guessing from the tags I assume you're talking about GitHub accounts. GitHub calculates contributions based on the author email address used in Git commits, and if there is a GitHub account that uses this email address, your GitHub user name shows up as a contributor. That said, you can associate multiple email addresses with a single GitHub account. So if you unregister your current email address from your old GitHub account, and register the same email address for your new GitHub account, existing contributions will show under your new GitHub account.
Do I still have access to that private repo after transfer the contributions?
That's a totally different question, and the answer depends on whether your new GitHub account was given access to the private repository. The GitHub permissions system is based on the GitHub user name, not on registered email addresses.
I'm part of a GitHub organization developing a FOSS project. I'd like to run CI tests on Windows using AppVeyor. Currently I see my own fork of the project, and some other forks from people who have named me collaborator in GitHub. I don't see the upstream of the project, though. Apparently me being an administrator of the GitHub organization isn't enough to offer access to it in AppVeyor. But probably setting this up under my account would be the wrong approach anyway. Probably this should be under the name of the organization.
Towards that end, I'd like to have an AppVeyor account for this organization, with suitable permissions for its members. Reading http://www.appveyor.com/docs/team-setup it sounds as if AppVeyor could distinguish between users (with unique email and password) and accounts (to which projects belong), and a single user apparently can belong to multiple accounts while one account can have multiple users with different roles. In that sense, I'd like to create a new account without creating a user for it. Instead I as an existing user, identified by GitHub login, would like to become the first administrator of this new account, and ready to change settings and add more users. How do I do this?
You can't create a new account without a user. Just use some your email/password to create an account, then add existing user as collaborator.