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

Q2.2

parent 7a07334f
No related branches found
No related tags found
No related merge requests found
......@@ -200,7 +200,27 @@ $ echo file2ignore > .gitignore
##### 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`)
```
$ git checkout -b selimovic
Switched to a new branch 'selimovic'
```
0. Lister les branches locales et les fichiers présent dans le répertoire courant `*`
```
$ git branch
master
* selimovic
$ ls -la
total 32
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 19:03 .git
-rw-r--r-- 1 XXXX XXXX 12 Feb 5 18:57 .gitignore
-rw-r--r-- 1 XXXX XXXX 8743 Feb 5 19:01 selimovic-compte-rendu.md
-rw-r--r-- 1 XXXX XXXX 28 Feb 5 18:55 start
```
0. Aficher le status de votre repo `*`
0. Créez une branche pour _développer_ la réponse de ce point (nommez là `mybranch-2.4` par exemple)
0. Afficher un historique sous forme de graph (`a dog`) de votre repo
......
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