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 0000000000000000000000000000000000000000..65352d571c093a7523b6ea8c06584f522f2e42f1 --- /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