Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Show git contributions from GitLab account on my GitHub

Tags:

git

github

gitlab

I worked a summer job as a software developer for which I was given a git account to use (my own email on the company's domain), and that repository was saved on GitLab. I had TONS of contributions on that which I would like to be shown on my GitHub account. Is it possible to show that?

I have tried adding the git email to my GitHub account, but that did not help (waited >24hrs).

Please let me know if there is a possibility of me being able to do this. Thanks in advance.

like image 429
Ahmed Raja Avatar asked Oct 16 '22 08:10

Ahmed Raja


1 Answers

You can upload your GitLab repos to GitHub. Commits with timestamps from previous days will show up on your heatmap. You can do this by creating a repository on GitHub without a README, so that your original repo's .git directory is preserved when you push it upstream. Otherwise, all your timestamps won't be saved, and the entire repo will look like one big commit on the day you upload it.

For contributions to GitLab repos you don't own, you could try uploading the fork you've created for it.

like image 76
Neel Kamath Avatar answered Oct 20 '22 06:10

Neel Kamath