Skip to content
Snippets Groups Projects
Commit 2f37daeb authored by Philippe Dosch's avatar Philippe Dosch
Browse files

MAJ du travail collaboratif

parent 77543de0
No related branches found
No related tags found
No related merge requests found
...@@ -174,7 +174,7 @@ ...@@ -174,7 +174,7 @@
\end{itemize} \end{itemize}
\begin{codebox} \begin{codebox}
\mygit{git push}{gitpush.txt} \mygitti{git push}{gitpush.txt}
\end{codebox} \end{codebox}
} }
...@@ -194,9 +194,9 @@ ...@@ -194,9 +194,9 @@
\frame{\frametitle{Cas idéal} \frame{\frametitle{Cas idéal}
\framesubtitle{Du côté de chez Alice...} \framesubtitle{Du côté de chez Alice...}
\mygitpromptplus{alice}{emacs README}\\ \mygitpromptplus{alice}{emacs README.md}\\
\mygitpromptplus{alice}{git add README}\\ \mygitpromptplus{alice}{git add README.md}\\
\mygitprompt{alice}{git commit -m "Minor updates"}{gitcomalic.txt} \mygitprompt{alice}{git commit -m "Quelques précisions dans la doc"}{gitcomalic.txt}
\mygitprompt{alice}{git push}{gitpushconf.txt} \mygitprompt{alice}{git push}{gitpushconf.txt}
} }
...@@ -204,9 +204,9 @@ ...@@ -204,9 +204,9 @@
\frame{\frametitle{Cas idéal} \frame{\frametitle{Cas idéal}
\framesubtitle{Du côté de chez Bob...} \framesubtitle{Du côté de chez Bob...}
\mygitpromptplus{bob}{emacs README}\\ \mygitpromptplus{bob}{emacs README.md}\\
\mygitpromptplus{bob}{git add README}\\ \mygitpromptplus{bob}{git add README.md}\\
\mygitprompt{bob}{git commit -m "Bug fixed"}{gitcombob.txt} \mygitprompt{bob}{git commit -m "Un titre ajouté"}{gitcombob.txt}
\mygitprompt{bob}{git push}{gitpushcoll.txt} \mygitprompt{bob}{git push}{gitpushcoll.txt}
} }
...@@ -236,18 +236,18 @@ ...@@ -236,18 +236,18 @@
\frame{\frametitle{Conflit} \frame{\frametitle{Conflit}
\framesubtitle{Du côté de chez Alice...} \framesubtitle{Du côté de chez Alice...}
\mygitpromptplus{alice}{emacs README}\\ \mygitpromptplus{alice}{emacs README.md}\\
\mygitpromptplus{alice}{git add README}\\ \mygitpromptplus{alice}{git add README.md}\\
\mygitprompt{alice}{git commit -m "Minor updates"}{gitcomalic.txt} \mygitprompt{alice}{git commit -m "Quelques précisions dans la doc"}{gitcomalic.txt}
} }
%====================================================================== %======================================================================
\frame{\frametitle{Conflit} \frame{\frametitle{Conflit}
\framesubtitle{Du côté de chez Bob...} \framesubtitle{Du côté de chez Bob...}
\mygitpromptplus{bob}{emacs README}\\ \mygitpromptplus{bob}{emacs README.md}\\
\mygitpromptplus{bob}{git add README}\\ \mygitpromptplus{bob}{git add README.md}\\
\mygitprompt{bob}{git commit -m "Bug fixed"}{gitcombob.txt} \mygitprompt{bob}{git commit -m "Un titre ajouté"}{gitcombob.txt}
\mygitprompt{bob}{git pull}{gitpullconflit.txt} \mygitprompt{bob}{git pull}{gitpullconflit.txt}
} }
...@@ -263,7 +263,7 @@ ...@@ -263,7 +263,7 @@
Le fichier en cause contient une zone délimitée par des chevrons Le fichier en cause contient une zone délimitée par des chevrons
\end{itemize} \end{itemize}
\mygit{cat README}{gitconflit.txt} \mygit{cat README.md}{gitconflit.txt}
} }
%====================================================================== %======================================================================
...@@ -284,8 +284,8 @@ ...@@ -284,8 +284,8 @@
\frame{\frametitle{Conflit} \frame{\frametitle{Conflit}
\framesubtitle{Du côté de chez Bob...} \framesubtitle{Du côté de chez Bob...}
\mygitpromptplus{bob}{git add README}\\ \mygitpromptplus{bob}{git add README.md}\\
\mygitprompt{bob}{git commit -m "Conflict fixed"}{gitconffix.txt} \mygitprompt{bob}{git commit -m "Conflit résolu"}{gitconffix.txt}
\mygitprompt{bob}{git push}{gitpushconf.txt} \mygitprompt{bob}{git push}{gitpushconf.txt}
} }
[master c70cf61] Minor updates [master d0ca99b] Quelques précisions dans la doc
Committer: Alice <alice@merveilles.com> 1 file changed, 2 insertions(+), 1 deletion(-)
1 files changed, 2 insertions(+), 1 deletions(-)
[master 70fcf61] Bug fixed [master 83dc651] Un titre ajouté
Committer: Bob <bob.leponge@cartoon.net> 1 file changed, 2 insertions(+)
1 files changed, 2 insertions(+), 1 deletions(-)
[master 8f999f1] Conflict fixed [master 6c99a92] Conflit résolu
<<<<<<< HEAD <<<<<<< HEAD
Dessus... Mon tellement beau titre !
Yopla
======= =======
Yopla Mon beau titre (génial) !
Dessous... >>>>>>> 91bb53f475d2d41c38cfdb6bf0b047a688bd4c3a
>>>>>>> c70cf6111a19192fed3b7aebd1e0a3e7088b28d0
remote: Counting objects: 5, done. remote: Enumerating objects: 5, done.
remote: Total 3 (delta 0), reused 0 (delta 0) remote: Counting objects: 100% (5/5), done.
Unpacking objects: 100% (3/3), done. remote: Compressing objects: 100% (2/2), done.
From /var/git/test remote: Total 3 (delta 1), reused 3 (delta 1), pack-reused 0 (from 0)
55ad751..c70cf61 master -> origin/master Dépaquetage des objets: 100% (3/3), 335 octets | 335.00 Kio/s, fait.
Auto-merging README Depuis github.com:loirotte/coursgit
CONFLICT (content): Merge conflict in README 184008f..91bb53f master -> origin/master
Automatic merge failed; fix conflicts and then commit the result. Fusion automatique de README.md
CONFLIT (contenu) : Conflit de fusion dans README.md
La fusion automatique a échoué ; réglez les conflits et validez le résultat.
remote: Counting objects: 5, done. remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (2/2), done. remote: Compressing objects: 100% (2/2), done.
remote: Total 3 (delta 0), reused 0 (delta 0) remote: Total 3 (delta 1), reused 3 (delta 1), pack-reused 0 (from 0)
Unpacking objects: 100% (3/3), done. Dépaquetage des objets: 100% (3/3), 337 octets | 337.00 Kio/s, fait.
From /var/git/test Depuis github.com:loirotte/coursgit
8f999f1..0455941 master -> origin/master 93e0999..d0ca99b master -> origin/master
Auto-merging README Fusion automatique de README.md
Merge made by recursive. Merge made by the 'ort' strategy.
README | 1 + README.md | 3 ++-
1 files changed, 1 insertions(+), 0 deletions(-) 1 file changed, 2 insertions(+), 1 deletion(-)
Counting objects: 5, done. Énumération des objets: 5, fait.
Delta compression using up to 4 threads. Décompte des objets: 100% (5/5), fait.
Compressing objects: 100% (3/3), done. Compression par delta en utilisant jusqu'à 12 fils d'exécution
Writing objects: 100% (3/3), 356 bytes, done. Compression des objets: 100% (2/2), fait.
Total 3 (delta 0), reused 0 (delta 0) Écriture des objets: 100% (3/3), 305 octets | 305.00 Kio/s, fait.
To git@github.com:dosch/test.git Total 3 (delta 1), réutilisés 0 (delta 0), réutilisés du pack 0
ff367fc..f20eb85 master -> master remote: Resolving deltas: 100% (1/1), completed with 1 local object.
To github.com:loirotte/coursgit.git
8360303..d36979c master -> master
To /var/git/test.git To github.com:loirotte/coursgit.git
! [rejected] master -> master (non-fast-forward) ! [rejected] master -> master (fetch first)
error: failed to push some refs to '/var/git/test.git' error: impossible de pousser des références vers 'github.com:loirotte/coursgit.git'
To prevent you from losing history, non-fast-forward updates were rejected astuce: Updates were rejected because the remote contains work that you do not
Merge the remote changes (e.g. 'git pull') before pushing again. See the astuce: have locally. This is usually caused by another repository pushing to
'Note about fast-forwards' section of 'git push --help' for details. astuce: the same ref. If you want to integrate the remote changes, use
astuce: 'git pull' before pushing again.
astuce: See the 'Note about fast-forwards' in 'git push --help' for details.
Counting objects: 10, done. Énumération des objets: 5, fait.
Delta compression using up to 4 threads. Décompte des objets: 100% (5/5), fait.
Compressing objects: 100% (2/2), done. Compression par delta en utilisant jusqu'à 12 fils d'exécution
Writing objects: 100% (6/6), 533 bytes, done. Compression des objets: 100% (3/3), fait.
Total 6 (delta 0), reused 0 (delta 0) Écriture des objets: 100% (3/3), 357 octets | 357.00 Kio/s, fait.
Unpacking objects: 100% (6/6), done. Total 3 (delta 1), réutilisés 0 (delta 0), réutilisés du pack 0
To /var/git/test.git remote: Resolving deltas: 100% (1/1), completed with 1 local object.
c70cf61..8f999f1 master -> master To github.com:loirotte/coursgit.git
93e0999..d0ca99b master -> master
Counting objects: 10, done. Énumération des objets: 10, fait.
Delta compression using up to 4 threads. Décompte des objets: 100% (10/10), fait.
Compressing objects: 100% (4/4), done. Compression par delta en utilisant jusqu'à 12 fils d'exécution
Writing objects: 100% (6/6), 592 bytes, done. Compression des objets: 100% (6/6), fait.
Total 6 (delta 0), reused 0 (delta 0) Écriture des objets: 100% (6/6), 667 octets | 667.00 Kio/s, fait.
Unpacking objects: 100% (6/6), done. Total 6 (delta 2), réutilisés 0 (delta 0), réutilisés du pack 0
To /var/git/test.git remote: Resolving deltas: 100% (2/2), completed with 1 local object.
0455941..78b618f master -> master To github.com:loirotte/coursgit.git
d0ca99b..184008f master -> master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment