Skip to content
Snippets Groups Projects
Forked from MSPL / MSPL-2018-2019
20 commits behind, 1 commit ahead of the upstream repository.
TD1.espec.md 2.20 KiB

TD1: Setup

  1. Download and Install git and RStudio (take the free version)

  2. Login to your Gitlab account

  3. Add your public SSH key

  4. Fork the reference repository

  5. Clone your forked repository locally

  6. 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
  1. 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.

Congratulations, you're done for the TD1.