Skip to content
Snippets Groups Projects
Commit 88533e15 authored by bertoni's avatar bertoni
Browse files

derniere version

parent 113376ee
No related branches found
No related tags found
No related merge requests found
......@@ -52,12 +52,11 @@ https://gitlab.isima.fr/mazenovi/2017-F2-Forge
renamed: tp1 cpw.md -> Bertoni Walczyszyn tp1 cpw.md
$ git commit -a --amend -m"modification du nom"
[master 4773e48] modification du nom
Date: Mon Jan 8 18:30:28 2018 +0100
1 file changed, 8 insertions(+), 87 deletions(-)
rename tp1 cpw.md => Bertoni Walczyszyn tp1 cpw.md (61%)
$ git commit -a --amend -m"modification du nom"
[master 4773e48] modification du nom
Date: Mon Jan 8 18:30:28 2018 +0100
1 file changed, 8 insertions(+), 87 deletions(-)
rename tp1 cpw.md => Bertoni Walczyszyn tp1 cpw.md (61%)
0. Afficher l'historique de votre repo
......@@ -83,9 +82,93 @@ https://gitlab.isima.fr/mazenovi/2017-F2-Forge
0. Créer un nouveau fichier : file2ignore
0. Afficher la status de votre copie de travail
0. On souhaite que ce fichier soit ignoré et ne soit jamais commiter. Réalisez la configuration nécesaire pour que cette regle soit effective `*`
$ cat .gitignore
file2ignore.txt
0. Lister le contenu du repertoire courant, afficher le status et la log
$ ls -la
total 3072
drwxr-xr-x 1 mabertoni1 1049089 0 janv. 8 19:29 ./
drwxr-xr-x 1 mabertoni1 1049089 0 janv. 23 08:41 ../
drwxr-xr-x 1 mabertoni1 1049089 0 janv. 29 18:46 .git/
-rw-r--r-- 1 mabertoni1 1049089 16 janv. 8 18:51 .gitignore
-rw-r--r-- 1 mabertoni1 1049089 6199 janv. 29 18:43 'Bertoni Walczyszyn tp1 cpw.md'
-rw-r--r-- 1 mabertoni1 1049089 0 janv. 8 18:41 file2ignore.txt
-rw-r--r-- 1 mabertoni1 1049089 39 janv. 8 18:40 start.txt
status:
$ git status
On branch BertoniWalczyszyn
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: Bertoni Walczyszyn tp1 cpw.md
no changes added to commit (use "git add" and/or "git commit -a")
log:
$ git log
commit 113376eeadaa267b944db844395884145bc3a908 (HEAD -> BertoniWalczyszyn, origin/BertoniWalczyszyn)
Author: bertoni <marion_bertoni@outlook.fr>
Date: Mon Jan 8 19:35:59 2018 +0100
derniere version 08/01
commit 8d099642e935da8dfb10e45c15dfdeb6baf21718
Author: bertoni <marion_bertoni@outlook.fr>
Date: Mon Jan 8 18:53:56 2018 +0100
ajout .gitignore
commit 39cc64eb63efc636e37df435d7f4fb1c1b8a769b
Author: bertoni <marion_bertoni@outlook.fr>
Date: Mon Jan 8 18:43:46 2018 +0100
ajout fichier start
commit 4773e48d22ecbca3b1d7e07ae3e6893fb1e7859b
Author: bertoni <marion_bertoni@outlook.fr>
Date: Mon Jan 8 18:30:28 2018 +0100
:...skipping...
commit 113376eeadaa267b944db844395884145bc3a908 (HEAD -> BertoniWalczyszyn, origin/BertoniWalczyszyn)
Author: bertoni <marion_bertoni@outlook.fr>
Date: Mon Jan 8 19:35:59 2018 +0100
derniere version 08/01
commit 8d099642e935da8dfb10e45c15dfdeb6baf21718
Author: bertoni <marion_bertoni@outlook.fr>
Date: Mon Jan 8 18:53:56 2018 +0100
ajout .gitignore
commit 39cc64eb63efc636e37df435d7f4fb1c1b8a769b
Author: bertoni <marion_bertoni@outlook.fr>
Date: Mon Jan 8 18:43:46 2018 +0100
ajout fichier start
commit 4773e48d22ecbca3b1d7e07ae3e6893fb1e7859b
Author: bertoni <marion_bertoni@outlook.fr>
Date: Mon Jan 8 18:30:28 2018 +0100
modification du nom
commit a95c3e051181aa16b2a2e8bd95fb7c2c65a690d3
Author: bertoni <marion_bertoni@outlook.fr>
Date: Mon Jan 8 18:21:02 2018 +0100
premier ajout
0. Avant de commiter affichez les modifications par rapport à la précédente révision ? `*`
##### 2. Les branches
0. Créez une branche portant votre nom et basculer sur cette branche (dans la suite du TP cette branche est désignée par `mybranch`)
0. Lister les branches locales et les fichiers présent dans le répertoire courant `*`
......@@ -101,7 +184,7 @@ https://gitlab.isima.fr/mazenovi/2017-F2-Forge
0. Ajoutez et commitez un fichier (touch new_file)
0. Revenir sur votre branche `mybranch` pour completer le compte rendu `*`
0. Affichez un historique sous forme de graph (`a dog`) de votre repo `*`
##### 3. Merge
0. Merge depuis head
0. switcher sur une nouvelle branche `mybranch-3.1`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment