Method 1: Use the linux command line
1. Assume you have a gitlab repository called matric2016.git
2. Create a new working directory:
- $ mkdir myproj && cd myproj
- $ git clone gitlab@gitlab.com/Banzyme2/matric2016.git
- $ cd matric2016.git
3. Clone your project into github as follows:
- $ git remote add github https://github.com/Banzyme/matric2016.git
- $ git push --mirror github
Method 2: Using the github dashboard repository import
1. Click "+" next to your github profile. Select import repository2. Fill out the import form as follows
Comments
Post a Comment