Browse Source

Update 'README.md'

Mikael Capelle 3 years ago
parent
commit
9baae3b142
1 changed files with 26 additions and 2 deletions
  1. 26
    2
      README.md

+ 26
- 2
README.md View File

@@ -5,7 +5,7 @@
5 5
 You will not be able to use this repository to save your work, thus you need to copy / import it to 
6 6
 your favorite repository platform.
7 7
 
8
-### Importing to [Github](https://github.com), [Bitbucket](https://bitbucket.org) or [Gitlab](https://gitlab.com).
8
+### Importing to [Github](https://github.com), [Bitbucket](https://bitbucket.org) or [Gitlab](https://gitlab.com):
9 9
 
10 10
 You first need to register on one of these platform, the steps to import the project are detailed below for each platform.
11 11
 
@@ -52,4 +52,28 @@ You first need to register on one of these platform, the steps to import the pro
52 52
 
53 53
 5. Click *Create project*.
54 54
 
55
-6. Wait for completion... Done!
55
+6. Wait for completion... Done!
56
+
57
+### Importing to another repository provider:
58
+
59
+1. Create a new **empty** repository (no README, no LICENSE) on your provider. Let's assume the URL of your repository is `$URL_REPOSITORY`.
60
+
61
+2. Clone this repository somewhere:
62
+
63
+    ```bash
64
+git clone https://gitea.typename.fr/INSA/be-graphes.git
65
+```
66
+
67
+3. Go inside the newly cloned repository and update the **remote**:
68
+
69
+    ```bash
70
+cd be-graphes
71
+git remote remove origin
72
+git remote add origin $URL_REPOSITORY
73
+```
74
+
75
+4. Push to your repository:
76
+
77
+    ```bash
78
+push -u origin master
79
+```

Loading…
Cancel
Save