Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
git-jso
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DOSCH Philippe
git-jso
Commits
7e0c825b
Commit
7e0c825b
authored
1 month ago
by
Philippe Dosch
Browse files
Options
Downloads
Patches
Plain Diff
Début de restructuration
parent
f5077d8d
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
basegit.tex
+0
-4
0 additions, 4 deletions
basegit.tex
collabowork.tex
+36
-2
36 additions, 2 deletions
collabowork.tex
gitmain.tex
+3
-1
3 additions, 1 deletion
gitmain.tex
maincommands.tex
+13
-12
13 additions, 12 deletions
maincommands.tex
with
52 additions
and
19 deletions
basegit.tex
+
0
−
4
View file @
7e0c825b
%======================================================================
%======================================================================
\section
{
Les bases de Git
}
%======================================================================
\subsection
{
Principes liés à Git
}
\subsection
{
Principes liés à Git
}
%======================================================================
%======================================================================
...
...
This diff is collapsed.
Click to expand it.
collabowork.tex
+
36
−
2
View file @
7e0c825b
%======================================================================
%======================================================================
\subsection
{
Exemples de travail collaboratif
}
\subsection
{
Introduction
}
%======================================================================
%======================================================================
...
@@ -47,7 +47,24 @@
...
@@ -47,7 +47,24 @@
%======================================================================
%======================================================================
\frame
{
\frametitle
{
Introduction
}
\frame
{
\frametitle
{
Principes du
\emph
{
workflow
}}
\begin{itemize}
\item
pull = fetch + merge pour info (pour aller plus loin ?)
\item
Récupération des autres contributions avant d'apporter les siennes
\begin{itemize}
\item
on choisit le moment (c'est manuel)
\item
message d'erreur si le
\emph
{
workflow
}
n'est pas respecté
\end{itemize}
\end{itemize}
}
%======================================================================
\frame
{
\frametitle
{
Scénarios de contributions
}
\begin{itemize}
\begin{itemize}
\item
\item
Si les modifications de différents contributeurs portent sur des
Si les modifications de différents contributeurs portent sur des
...
@@ -67,6 +84,10 @@
...
@@ -67,6 +84,10 @@
%======================================================================
%======================================================================
\subsection
{
Exemples de travail collaboratif
}
%======================================================================
\frame
{
\frametitle
{
Cas idéal
}
\frame
{
\frametitle
{
Cas idéal
}
\begin{center}
\begin{center}
\includegraphics
[width=9cm]
{
edit-coll.eps
}
\includegraphics
[width=9cm]
{
edit-coll.eps
}
...
@@ -174,3 +195,16 @@
...
@@ -174,3 +195,16 @@
%======================================================================
%======================================================================
\subsection
{
Configuration
}
%======================================================================
\frame
{
\frametitle
{
SSH ?
}
\framesubtitle
{
Du côté de chez Bob...
}
\mygitpromptplus
{
bob
}{
git add README
}
\\
\mygitprompt
{
bob
}{
git commit -m "Conflict fixed"
}{
gitconffix.txt
}
\mygitprompt
{
bob
}{
git push
}{
gitpushconf.txt
}
}
%======================================================================
This diff is collapsed.
Click to expand it.
gitmain.tex
+
3
−
1
View file @
7e0c825b
...
@@ -58,10 +58,12 @@
...
@@ -58,10 +58,12 @@
%======================================================================
%======================================================================
\include
{
intro
}
\include
{
intro
}
\section
{
Les bases de Git
}
\include
{
basegit
}
\include
{
basegit
}
\include
{
maincommands
}
\include
{
maincommands
}
\include
{
collabowork
}
\include
{
config
}
\include
{
config
}
\section
{
Travail collaboratif avec Git
}
\include
{
collabowork
}
\include
{
moregit
}
\include
{
moregit
}
% 2 points importants d'évolutions : introduire les hunks et git
% 2 points importants d'évolutions : introduire les hunks et git
...
...
This diff is collapsed.
Click to expand it.
maincommands.tex
+
13
−
12
View file @
7e0c825b
...
@@ -41,6 +41,15 @@
...
@@ -41,6 +41,15 @@
%======================================================================
%======================================================================
\frame
{
\frametitle
{
Niveaux de stockage et commandes Git
}
\framesubtitle
{
Quelques flux courants
}
\begin{center}
\includegraphics
[width=10cm]
{
princindex.eps
}
\end{center}
}
%======================================================================
\frame
{
\frametitle
{
\ex
{
git init
}}
\frame
{
\frametitle
{
\ex
{
git init
}}
\framesubtitle
{
\gitcrea
}
\framesubtitle
{
\gitcrea
}
\begin{itemize}
\begin{itemize}
...
@@ -81,14 +90,6 @@
...
@@ -81,14 +90,6 @@
%======================================================================
%======================================================================
\frame
{
\frametitle
{
Index et commandes Git
}
\begin{center}
\includegraphics
[width=10cm]
{
princindex.eps
}
\end{center}
}
%======================================================================
\frame
{
\frametitle
{
\ex
{
git add
}}
\frame
{
\frametitle
{
\ex
{
git add
}}
\framesubtitle
{
\gitajout
}
\framesubtitle
{
\gitajout
}
\begin{itemize}
\begin{itemize}
...
@@ -548,12 +549,12 @@
...
@@ -548,12 +549,12 @@
\item
\item
Propage les changements du dépôt local vers le distant
Propage les changements du dépôt local vers le distant
\item
\item
Précision :
deux
stratégies de mises à jour existent (voir le
Précision :
plusieurs
stratégies de mises à jour existent (voir le
transparent sur la configuration utilisateur)
transparent sur la configuration utilisateur)
, dont
\begin{itemize}
\begin{itemize}
\item
\item
\ex
{
simple
}
: seule la branche courante est concernée
\ex
{
simple
}
: seule la branche courante est concernée
\\
(conseillé en général)
(
par défaut,
conseillé en général)
\item
\item
\ex
{
matching
}
: toutes les branches locales sont concernées
\ex
{
matching
}
: toutes les branches locales sont concernées
% si elles existent sur le serveur
% si elles existent sur le serveur
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment