Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Git niveau 1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Picasoft
Formations
Git niveau 1
Commits
b45b46e5
Commit
b45b46e5
authored
Oct 08, 2018
by
Rémy Huet
💻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ajout fichier texte.txt
parent
2836bdef
Pipeline
#28338
passed with stage
in 18 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
18 deletions
+15
-18
presentation.tex
presentation.tex
+14
-18
text.txt
text.txt
+1
-0
No files found.
presentation.tex
View file @
b45b46e5
...
...
@@ -153,6 +153,17 @@ $ cd formation_git
\Pause
Initialisation du dépôt git :
\begin{beamercolorbox}
[rounded=true,shadow=true]
{
terminal
}
\vspace
{
-
\seplength
}
\begin{Verbatim}
$
git init
Dépôt Git vide initialisé dans
/
home
/
user
/
formation
_
git
/
.git
\end
{
Verbatim
}
\end
{
beamercolorbox
}
\Pause
Configuration de l'identité de l'utilisateur :
\begin
{
itemize
}
\item
Permet d'identifier l'auteur des mises à jour;
...
...
@@ -168,17 +179,6 @@ $ git config --global/local user.email "<adresse email>"
\end
{
Verbatim
}
\end
{
beamercolorbox
}
\Pause
Initialisation du dépôt git :
\begin{beamercolorbox}
[rounded=true,shadow=true]
{
terminal
}
\vspace
{
-
\seplength
}
\begin{Verbatim}
$
git init
Dépôt Git vide initialisé dans
/
home
/
user
/
formation
_
git
/
.git
\end
{
Verbatim
}
\end
{
beamercolorbox
}
\end
{
frame
}
\subsection
{
\'
Etat du répertoire local
}
...
...
@@ -661,7 +661,7 @@ $\Pause cat formation.txt
J'apprends à utiliser git
J’ajoute une ligne à mon fichier
$
\Pause
git log
$
\Pause
git log
--
all
\textcolor
{
yellow
}{
commit
2624
c
90
dbc
8
f
28
be
29
f
7
cbd
8
ea
497
eaef
8832
f
44
}
(
\textcolor
{
green
}{
master
}
)
Author: Thibaud Duhautbout <thibaud@duhautbout.ovh>
Date: Sun Sep
30
20
:
38
:
59
2018
+
0200
...
...
@@ -756,7 +756,7 @@ Modifications qui ne seront pas validées :
\textcolor
{
red
}{
modifié : formation.txt
}
\Pause
$
git diff f
ichier
_
casse
$
git diff f
ormation.txt
diff --git a/formation.txt b/formation.txt
index b1e9ea1..06fc038 100644
--- a/formation.txt
...
...
@@ -808,8 +808,6 @@ travail en cours...
\begin
{
Verbatim
}
$
git clone https://gitlab.utc.fr/picasoft/formations/A18/git-v1
\Pause
Clonage dans 'git-v1'...
Username for 'https://gitlab.utc.fr':
\Pause
{}
huetremy
\Pause
Password for 'https://huetremy@gitlab.utc.fr':
\Pause
warning: redirection vers https://gitlab.utc.fr/picasoft/formations/A18/git-v1.git/
remote: Counting objects: 74, done.
remote: Compressing objects: 100
% (55/55), done.
...
...
@@ -838,8 +836,6 @@ rien à valider, la copie de travail est propre
\vspace
{
-
\seplength
}
\begin{Verbatim}
$
git pull
\Pause
Username for 'https:
//
gitlab.utc.fr':
\Pause
huetremy
Password for 'https:
//
huetremy@gitlab.utc.fr':
\Pause
warning: redirection vers https:
//
gitlab.utc.fr
/
picasoft
/
formations
/
a
18
/
git
-
v
1
.git
/
remote: Counting objects:
3
, done.
remote: Compressing objects:
100
% (3/3), done.
...
...
@@ -869,7 +865,7 @@ $ cd Documents \Pause
$
git clone https://gitlab.utc.fr/mon
_
login/fomation-git
\Pause
...
$
cd formation
-
git
\Pause
$
echo "Hello World
!
" > text.txt
\Pause
$
echo "Hello World" > text.txt
\Pause
$
git add
-
A
\Pause
$
git commit -m "Ajout fichier text.txt"
\Pause
...
...
...
text.txt
0 → 100644
View file @
b45b46e5
hello world
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment