Skip to content

ericloureiro/gitlab-contribution-migration-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contribution Migration Tool

Contribution Migration Tool is a script to migrate all contributions done on GitLab to GitHub.

Disclaimer: this script does not completely migrates your commits, it mimics every contribution made on GitLab into a generic commit on the same date.

Get Started

Before running the script you need to make:

  • A public profile on GitLab;
  • A private repository on GitHub.

Then:

  • Clone your repository to local;

  • Copy gitlab-migrator.py into your project folder;

  • Run python3 migrator.py <username> [initialDate];

    • username: profile user on GitLab;
    • initialDate(optional): Start commit date in YYYY-MM-DD format. Do not inform it for all commits.
      If this is not your first time using this script on the same repository, there is no need
      to inform a date since contributions are handled automatically to prevent duplicated commits.
    
  • Push your commits;

  • Enjoy your calendar contributions on both platforms!

Demonstration

Many thanks to ssk1002 for the original idea

About

A script to migrate GitLab contributions to GitHub

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages