From 9baae3b1428de87bff5022cecc577d394857d133 Mon Sep 17 00:00:00 2001 From: Mikael Capelle Date: Mon, 12 Mar 2018 17:20:13 +0000 Subject: [PATCH] Update 'README.md' --- README.md | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6b2410a..e616f6a 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ You will not be able to use this repository to save your work, thus you need to copy / import it to your favorite repository platform. -### Importing to [Github](https://github.com), [Bitbucket](https://bitbucket.org) or [Gitlab](https://gitlab.com). +### Importing to [Github](https://github.com), [Bitbucket](https://bitbucket.org) or [Gitlab](https://gitlab.com): You first need to register on one of these platform, the steps to import the project are detailed below for each platform. @@ -52,4 +52,28 @@ You first need to register on one of these platform, the steps to import the pro 5. Click *Create project*. -6. Wait for completion... Done! \ No newline at end of file +6. Wait for completion... Done! + +### Importing to another repository provider: + +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: + + ```bash +git clone https://gitea.typename.fr/INSA/be-graphes.git +``` + +3. Go inside the newly cloned repository and update the **remote**: + + ```bash +cd be-graphes +git remote remove origin +git remote add origin $URL_REPOSITORY +``` + +4. Push to your repository: + + ```bash +push -u origin master +``` \ No newline at end of file