Skip to content

Pronto projet, first session

Install Party

Depending on your PC, go to the page:

Discover Gitlab

  1. Log in on https://gitlab-df.imt-atlantique.fr
  2. Create a project, name it as you wish
  3. Choose to add a README.md file or not
  4. Get the clone HTTPS URL

All the necessary information is available here: Gitlab.

Discover Git

The challenge here will be to familiarize yourself with the concepts of Git by using the previously created project, and to address the possibilities of documenting a project.

  1. Clone the Gitlab project repository Clone
  2. Modify the README.md file by deleting/modifying/adding lines with VScode
  3. See what happens (withgit status)
  4. Add these modifications to the index Add
  5. See what happens
  6. Create a new commented version including these modifications Commit

    The commit command adds a commit to the history of the local repository:

    %%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'showBranches': true, 'showCommitLabel':true,'mainBranchName': 'GitlabRepo'}} }%%
    gitGraph:
        commit id: "Initial"
        branch Alice
        commit id: "Modif Readme"
  7. See what happens

  8. Propagate these modifications to the remote repository Push

    The push command propagate the commit to the gitlab remote repository:

    %%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'showBranches': true, 'showCommitLabel':true,'mainBranchName': 'GitlabRepo'}} }%%
    gitGraph:
        commit id: "Initial"
        branch Alice
        commit id: "Modif Readme"
        checkout GitlabRepo
        merge Alice
    9. See what happens

All the necessary information is available here: Git.