- français
- English
How can I import an existing git repository?
1. If not already done, create your repository on git.epfl.ch
2. Go to your project folder :
$ cd /path/to/my/project
3. Launch the following command, replace <username> with your GASPAR username and <repository> with your repository name :
$ git remote add origin https://<username>@git.epfl.ch/repo/<repository>.git
4. Launch the following command :
$ git push -u origin master
After this initial import, pushing your changes will just require this command :
$ git push