2.7 KiB
Graph & Algorithm project — INSA Toulouse
How to start?
You will not be able to use this repository to save your work, you need to copy / import / fork it to your favorite Git platform.
Importing to Github, Bitbucket or Gitlab:
You first need to register and then log in to the platform you want. The steps to import the project are detailed below:
Github
-
In the upper-right corner of any page, click the "+" icon, then click Import repository, or go to https://github.com/new/import.
-
Paste the following URL in the first input:
-
Choose the name you want for the repository.
-
Click Begin import.
-
Wait for completion... Done!
Bitbucket
-
On the left panel of any page, click the "+" icon, then Repository, and then Import, or directly go to https://bitbucket.org/repo/import.
-
Paste the following URL in the first input (select Git as source if not already selected):
-
Choose the name you want for repository, and select Git as the Version control system.
-
Click Import repository.
-
Wait for completion... Done!
Gitlab
-
In the upper-right corner of any page, click the "+" icon, then New project, or directly go to https://gitlab.com/projects/new.
-
Select the Import project tab, and then click Repo by URL (right-most option).
-
Paste the following URL in the first input:
-
Choose the name you want for the repository.
-
Click Create project.
-
Wait for completion... Done!
Importing to another repository provider [not recommended]:
-
Create a new empty repository (no README, no LICENSE) on your provider. Let's assume the URL of your repository is
$URL_REPOSITORY
. -
Clone this repository somewhere:
git clone https://gitea.typename.fr/INSA/be-graphes.git
-
Go inside the newly cloned repository and update the remote:
cd be-graphes git remote remove origin git remote add origin $URL_REPOSITORY
-
Push to your repository:
push -u origin master
Another way is to do a bare clone and then mirror it to your repository: https://help.github.com/articles/importing-a-git-repository-using-the-command-line/