Skip to content
Snippets Groups Projects
Commit 7a07334f authored by Dorian Selimovic's avatar Dorian Selimovic
Browse files

Q1.15

parent 02672f8f
No related branches found
No related tags found
No related merge requests found
......@@ -137,7 +137,66 @@ $ echo file2ignore > .gitignore
```
0. Lister le contenu du repertoire courant, afficher le status et la log
```
$ ls -la
total 28
drwxr-xr-x 3 XXXX XXXX 4096 Feb 5 18:57 .
drwxr-xr-x 3 XXXX XXXX 4096 Feb 5 18:39 ..
-rw-r--r-- 1 XXXX XXXX 0 Feb 5 18:56 file2ignore
drwxr-xr-x 8 XXXX XXXX 4096 Feb 5 18:58 .git
-rw-r--r-- 1 XXXX XXXX 12 Feb 5 18:57 .gitignore
-rw-r--r-- 1 XXXX XXXX 6904 Feb 5 18:58 selimovic-compte-rendu.md
-rw-r--r-- 1 XXXX XXXX 28 Feb 5 18:55 start
$ git status
On branch master
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: selimovic-compte-rendu.md
no changes added to commit (use "git add" and/or "git commit -a")
$ git log
commit 02672f8fd9d27dd80c7f5201fa715f0c3b78911a
Author: Dorian Selimovic <selimovic.dorian@gmail.com>
Date: Mon Feb 5 18:58:06 2018 +0100
Q1.13
commit 696e5f9ccf8b6b4ac0af9902c612bf51f2690a91
Author: Dorian Selimovic <selimovic.dorian@gmail.com>
Date: Mon Feb 5 18:56:28 2018 +0100
Q1.10
commit db1ca34d13f87563424855a79e09d07494d4d511
Author: Dorian Selimovic <selimovic.dorian@gmail.com>
Date: Mon Feb 5 18:54:13 2018 +0100
Q1.9
commit 80d939781c8f3b5b501b8461c6dd998245e338dd
Author: Dorian Selimovic <selimovic.dorian@gmail.com>
Date: Mon Feb 5 18:51:55 2018 +0100
Rename compte-rendu
commit e4e58b98b1b008bb0a5000ecfc47c4393d03907d
Author: Dorian Selimovic <selimovic.dorian@gmail.com>
Date: Mon Feb 5 18:49:21 2018 +0100
Q1.5
commit f256d85c1c2f27e7e563b458b7093e896ca61ddd
Author: Dorian Selimovic <selimovic.dorian@gmail.com>
Date: Mon Feb 5 18:47:10 2018 +0100
Q1.3
```
0. Avant de commiter affichez les modifications par rapport à la précédente révision ? `*`
>Il affiche en vert le contenu de la question précédente.
##### 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% 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