Browse Source

Update 'README.md'

Mikael Capelle 2 years ago
parent
commit
de6fa0698b
1 changed files with 7 additions and 26 deletions
  1. 7
    26
      README.md

+ 7
- 26
README.md View File

@@ -12,66 +12,47 @@ You first need to register and then log in to the platform you want. The steps t
12 12
 #### Github
13 13
 
14 14
 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). 
15
-
16 15
 2. Paste the following URL in the first input:
17
- 
18
-    [https://gitea.typename.fr/INSA/be-graphes.git](https://gitea.typename.fr/INSA/be-graphes.git)
19
-
16
+     [https://gitea.typename.fr/INSA/be-graphes.git](https://gitea.typename.fr/INSA/be-graphes.git)
20 17
 3. Choose the name you want for the repository.
21
-
22 18
 4. Click *Begin import*.
23
-
24 19
 5. Wait for completion... Done!
25 20
 
26 21
 #### Bitbucket
27 22
 
28 23
 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). 
29
-
30 24
 2. Paste the following URL in the first input (select Git as source if not already selected):
31
- 
32
-    [https://gitea.typename.fr/INSA/be-graphes.git](https://gitea.typename.fr/INSA/be-graphes.git)
33
-
25
+     [https://gitea.typename.fr/INSA/be-graphes.git](https://gitea.typename.fr/INSA/be-graphes.git)
34 26
 3. Choose the name you want for repository, and select Git as the *Version control system*.
35
-
36 27
 4. Click *Import repository*.
37
-
38 28
 5. Wait for completion... Done!
39 29
 
40 30
 #### Gitlab
41 31
 
42 32
 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).
43
-
44 33
 2. Select the **Import project** tab, and then click **Repo by URL** (right-most option).
45
-
46
-
47 34
 3. Paste the following URL in the first input:
48
- 
49
-    [https://gitea.typename.fr/INSA/be-graphes.git](https://gitea.typename.fr/INSA/be-graphes.git)
50
-    
35
+     [https://gitea.typename.fr/INSA/be-graphes.git](https://gitea.typename.fr/INSA/be-graphes.git)
51 36
 4. Choose the name you want for the repository.
52
-
53 37
 5. Click *Create project*.
54
-
55 38
 6. Wait for completion... Done!
56 39
 
57 40
 ### Importing to another repository provider *[not recommended]*:
58 41
 
59 42
 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 43
 2. Clone this repository somewhere:
62 44
 
63 45
     ```bash
64 46
 	git clone https://gitea.typename.fr/INSA/be-graphes.git
65 47
 	```
66
-
48
+    
67 49
 3. Go inside the newly cloned repository and update the **remote**:
68
-
50
+   
69 51
     ```bash
70 52
 	cd be-graphes
71
-	git remote remove origin
72
-	git remote add origin $URL_REPOSITORY
53
+	git remote set-url origin $URL_REPOSITORY
73 54
 	```
74
-
55
+    
75 56
 4. Push to your repository:
76 57
 
77 58
     ```bash

Loading…
Cancel
Save