Something went wrong on our end
Forked from
MSPL / MSPL-2018-2019
20 commits behind, 1 commit ahead of the upstream repository.
-
Jean-Marc Vincent authoredJean-Marc Vincent authored
TD1.espec.md 2.20 KiB
TD1: Setup
-
Download and Install git and RStudio (take the free version)
- Git: https://git-scm.com/downloads
- Understand git and Tutorial: https://try.github.io/
- RStudio: https://www.rstudio.com/products/rstudio/download/ for mac users you need to download R https://cran.r-project.org/
- Git: https://git-scm.com/downloads
-
Login to your Gitlab account
- Go to the login page: https://gricad-gitlab.univ-grenoble-alpes.fr
- Using UGA Agalan login/password
- Documentation: Have a look at the Gitlab documentation https://docs.gitlab.com/ee/gitlab-basics/README.html
-
Add your public SSH key
-
Fork the reference repository
- Fork this repository: https://gricad-gitlab.univ-grenoble-alpes.fr/MSPL/mspl-2018-2019
- Please, use the
Fork
button in the web interface
- Please, use the
- Tutorial: https://docs.gitlab.com/ee/gitlab-basics/fork-project.html
- Fork this repository: https://gricad-gitlab.univ-grenoble-alpes.fr/MSPL/mspl-2018-2019
-
Clone your forked repository locally
git clone git@gricad-gitlab.univ-grenoble-alpes.fr:YOURLOGIN/mspl-2018-2019.git
- Tutorial: https://docs.gitlab.com/ee/gitlab-basics/command-line-commands.html
-
Create your first commit, then push it to gitlab
- Configure git:
git config --global user.name "MY NAME"
git config --global user.email "MY EMAIL"
- Create a file
AUTHOR.txt
with your name - Then, run
git add AUTHOR.txt
- Commit it locally using
git commit -m "my first commit"
- Push to github with
git push origin master
-
Add mspl-2018-2019 remote
Do in your local repository, the one that you've cloned, the following commands:
- Run
git remote add mspl-2018-2019 git@gricad-gitlab.univ-grenoble-alpes.fr:MSPL/mspl-2018-2019.git
- Check for update and (merge or rebase) them locally by :
git pull mspl-2018-2019 master
for other choices have a look at fetch, merge and rebase commands - Push then to your gitlab repository:
git push origin master
Repeat the last two commands to keep your gitlab repository updated.
This is necessary to keep yourself up to date with latest TD updates.
- Run
Congratulations, you're done for the TD1.