Update 'README.md'
This commit is contained in:
		
							parent
							
								
									455090e10a
								
							
						
					
					
						commit
						de6fa0698b
					
				
					 1 changed files with 7 additions and 26 deletions
				
			
		
							
								
								
									
										33
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										33
									
								
								README.md
									
									
									
									
									
								
							|  | @ -12,66 +12,47 @@ You first need to register and then log in to the platform you want. The steps t | ||||||
| #### Github | #### Github | ||||||
| 
 | 
 | ||||||
| 1. In the upper-right corner of any page, click the **"+"** icon, then click **Import repository**, or go to [https://github.com/new/import](https://github.com/new/import).  | 1. In the upper-right corner of any page, click the **"+"** icon, then click **Import repository**, or go to [https://github.com/new/import](https://github.com/new/import).  | ||||||
| 
 |  | ||||||
| 2. Paste the following URL in the first input: | 2. Paste the following URL in the first input: | ||||||
|   |      [https://gitea.typename.fr/INSA/be-graphes.git](https://gitea.typename.fr/INSA/be-graphes.git) | ||||||
|     [https://gitea.typename.fr/INSA/be-graphes.git](https://gitea.typename.fr/INSA/be-graphes.git) |  | ||||||
| 
 |  | ||||||
| 3. Choose the name you want for the repository. | 3. Choose the name you want for the repository. | ||||||
| 
 |  | ||||||
| 4. Click *Begin import*. | 4. Click *Begin import*. | ||||||
| 
 |  | ||||||
| 5. Wait for completion... Done! | 5. Wait for completion... Done! | ||||||
| 
 | 
 | ||||||
| #### Bitbucket | #### Bitbucket | ||||||
| 
 | 
 | ||||||
| 1. On the left panel of any page, click the **"+"** icon, then **Repository**, and then **Import**, or directly go to [https://bitbucket.org/repo/import](https://bitbucket.org/repo/import).  | 1. On the left panel of any page, click the **"+"** icon, then **Repository**, and then **Import**, or directly go to [https://bitbucket.org/repo/import](https://bitbucket.org/repo/import).  | ||||||
| 
 |  | ||||||
| 2. Paste the following URL in the first input (select Git as source if not already selected): | 2. Paste the following URL in the first input (select Git as source if not already selected): | ||||||
|   |      [https://gitea.typename.fr/INSA/be-graphes.git](https://gitea.typename.fr/INSA/be-graphes.git) | ||||||
|     [https://gitea.typename.fr/INSA/be-graphes.git](https://gitea.typename.fr/INSA/be-graphes.git) |  | ||||||
| 
 |  | ||||||
| 3. Choose the name you want for repository, and select Git as the *Version control system*. | 3. Choose the name you want for repository, and select Git as the *Version control system*. | ||||||
| 
 |  | ||||||
| 4. Click *Import repository*. | 4. Click *Import repository*. | ||||||
| 
 |  | ||||||
| 5. Wait for completion... Done! | 5. Wait for completion... Done! | ||||||
| 
 | 
 | ||||||
| #### Gitlab | #### Gitlab | ||||||
| 
 | 
 | ||||||
| 1. In the upper-right corner of any page, click the **"+"** icon, then **New project**, or directly go to [https://gitlab.com/projects/new](https://gitlab.com/projects/new). | 1. In the upper-right corner of any page, click the **"+"** icon, then **New project**, or directly go to [https://gitlab.com/projects/new](https://gitlab.com/projects/new). | ||||||
| 
 |  | ||||||
| 2. Select the **Import project** tab, and then click **Repo by URL** (right-most option). | 2. Select the **Import project** tab, and then click **Repo by URL** (right-most option). | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 3. Paste the following URL in the first input: | 3. Paste the following URL in the first input: | ||||||
|   |      [https://gitea.typename.fr/INSA/be-graphes.git](https://gitea.typename.fr/INSA/be-graphes.git) | ||||||
|     [https://gitea.typename.fr/INSA/be-graphes.git](https://gitea.typename.fr/INSA/be-graphes.git) |  | ||||||
|      |  | ||||||
| 4. Choose the name you want for the repository. | 4. Choose the name you want for the repository. | ||||||
| 
 |  | ||||||
| 5. Click *Create project*. | 5. Click *Create project*. | ||||||
| 
 |  | ||||||
| 6. Wait for completion... Done! | 6. Wait for completion... Done! | ||||||
| 
 | 
 | ||||||
| ### Importing to another repository provider *[not recommended]*: | ### Importing to another repository provider *[not recommended]*: | ||||||
| 
 | 
 | ||||||
| 1. Create a new **empty** repository (no README, no LICENSE) on your provider. Let's assume the URL of your repository is `$URL_REPOSITORY`. | 1. Create a new **empty** repository (no README, no LICENSE) on your provider. Let's assume the URL of your repository is `$URL_REPOSITORY`. | ||||||
| 
 |  | ||||||
| 2. Clone this repository somewhere: | 2. Clone this repository somewhere: | ||||||
| 
 | 
 | ||||||
|     ```bash |     ```bash | ||||||
| 	git clone https://gitea.typename.fr/INSA/be-graphes.git | 	git clone https://gitea.typename.fr/INSA/be-graphes.git | ||||||
| 	``` | 	``` | ||||||
| 
 |      | ||||||
| 3. Go inside the newly cloned repository and update the **remote**: | 3. Go inside the newly cloned repository and update the **remote**: | ||||||
| 
 |     | ||||||
|     ```bash |     ```bash | ||||||
| 	cd be-graphes | 	cd be-graphes | ||||||
| 	git remote remove origin | 	git remote set-url origin $URL_REPOSITORY | ||||||
| 	git remote add origin $URL_REPOSITORY |  | ||||||
| 	``` | 	``` | ||||||
| 
 |      | ||||||
| 4. Push to your repository: | 4. Push to your repository: | ||||||
| 
 | 
 | ||||||
|     ```bash |     ```bash | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue