From ac91b9392ad8f64ba0dc22921faba30684dd87d2 Mon Sep 17 00:00:00 2001 From: FILIPPONE Jerome <jerome@filippone.fr> Date: Wed, 1 Feb 2023 12:17:49 +0000 Subject: [PATCH] Upload New File --- .../SEANCE-01/commandes_GIT.txt | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 SEMESTRE_2_2022-23/SEANCE-01/commandes_GIT.txt diff --git a/SEMESTRE_2_2022-23/SEANCE-01/commandes_GIT.txt b/SEMESTRE_2_2022-23/SEANCE-01/commandes_GIT.txt new file mode 100644 index 0000000..65352d5 --- /dev/null +++ b/SEMESTRE_2_2022-23/SEANCE-01/commandes_GIT.txt @@ -0,0 +1,23 @@ + + +ETAPE 1. Configurer GIT + +git config --global user.name "nom_etudiant" +git config --global user.email "email_etudiant" +git config --global --add credential.helper "store --file ~/.git-credentials" +chmod 0600 ~/.git-credentials +git config --global http.proxy http://proxy.infra.univ-lorraine.fr:3128 +git config --global https.proxy https://proxy.infra.univ-lorraine.fr:3128 +git config --global --list + + +ETAPE 2. Récupérer le projet + +git clone https://gitlab.univ-lorraine.fr/filippon1/projet1.git +(ecrire le login/mdp une seule fois, ils sont alors enregistrés dans ~/.git-credentials) + +ETAPE 3.Fusionner les branches et observer l'historiques des commits + +git checkout main +git merge dev1 +git log --graph --oneline --all --decorate -- GitLab