Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
2017-F2-Forge
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Dorian SELIMOVIC
2017-F2-Forge
Commits
ae1b0d7f
Commit
ae1b0d7f
authored
7 years ago
by
bertoni
Browse files
Options
Downloads
Patches
Plain Diff
branche créée
parent
8d099642
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Bertoni Walczyszyn tp1 cpw.md
+74
-6
74 additions, 6 deletions
Bertoni Walczyszyn tp1 cpw.md
with
74 additions
and
6 deletions
Bertoni Walczyszyn tp1 cpw.md
+
74
−
6
View file @
ae1b0d7f
...
@@ -52,12 +52,11 @@ https://gitlab.isima.fr/mazenovi/2017-F2-Forge
...
@@ -52,12 +52,11 @@ https://gitlab.isima.fr/mazenovi/2017-F2-Forge
renamed: tp1 cpw.md -> Bertoni Walczyszyn tp1 cpw.md
renamed: tp1 cpw.md -> Bertoni Walczyszyn tp1 cpw.md
$ git commit -a --amend -m"modification du nom"
$ git commit -a --amend -m"modification du nom"
[master 4773e48] modification du nom
[master 4773e48] modification du nom
Date: Mon Jan 8 18:30:28 2018 +0100
Date: Mon Jan 8 18:30:28 2018 +0100
1 file changed, 8 insertions(+), 87 deletions(-)
1 file changed, 8 insertions(+), 87 deletions(-)
rename tp1 cpw.md => Bertoni Walczyszyn tp1 cpw.md (61%)
rename tp1 cpw.md => Bertoni Walczyszyn tp1 cpw.md (61%)
0.
Afficher l'historique de votre repo
0.
Afficher l'historique de votre repo
...
@@ -80,12 +79,81 @@ https://gitlab.isima.fr/mazenovi/2017-F2-Forge
...
@@ -80,12 +79,81 @@ https://gitlab.isima.fr/mazenovi/2017-F2-Forge
de nom du fichier.
de nom du fichier.
0.
Créer un nouveau fichier, nommé start, contenant la date et l'heure actuelle
`*`
0.
Créer un nouveau fichier, nommé start, contenant la date et l'heure actuelle
`*`
$ git add
*
$ git commit -m "ajout fichier start"
[master 39cc64e] ajout fichier start
2 files changed, 55 insertions(+), 2 deletions(-)
create mode 100644 start.txt
0.
Créer un nouveau fichier : file2ignore
0.
Créer un nouveau fichier : file2ignore
0.
Afficher la status de votre copie de travail
0.
Afficher la status de votre copie de travail
$ git status
On branch master
Untracked files:
(use "git add <file>..." to include in what will be committed)
file2ignore.txt
nothing added to commit but untracked files present (use "git add" to track)
0.
On souhaite que ce fichier soit ignoré et ne soit jamais commiter. Réalisez la configuration nécesaire pour que cette regle soit effective
`*`
0.
On souhaite que ce fichier soit ignoré et ne soit jamais commiter. Réalisez la configuration nécesaire pour que cette regle soit effective
`*`
$ touch .gitignore
$ echo .gitignore > file2ignore.txt
$ git add .gitignore
warning: LF will be replaced by CRLF in .gitignore.
The file will have its original line endings in your working directory.
$ git commit -m "ajout .gitignore"
[master b710486] ajout .gitignore
1 file changed, 1 insertion(+)
create mode 100644 .gitignore
0.
Lister le contenu du repertoire courant, afficher le status et la log
0.
Lister le contenu du repertoire courant, afficher le status et la log
$ ls -a
./ ../ .git/ .gitignore 'Bertoni Walczyszyn tp1 cpw.md' file2ignore.txt start.txt
$ 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: Bertoni Walczyszyn tp1 cpw.md
no changes added to commit (use "git add" and/or "git commit -a")
$ git log
commit 8d099642e935da8dfb10e45c15dfdeb6baf21718 (HEAD -> master)
Author: bertoni <marion_bertoni@outlook.fr>
Date: Mon Jan 8 18:53:56 2018 +0100
ajout .gitignore
commit 39cc64eb63efc636e37df435d7f4fb1c1b8a769b
Author: bertoni <marion_bertoni@outlook.fr>
Date: Mon Jan 8 18:43:46 2018 +0100
ajout fichier start
commit 4773e48d22ecbca3b1d7e07ae3e6893fb1e7859b
Author: bertoni <marion_bertoni@outlook.fr>
Date: Mon Jan 8 18:30:28 2018 +0100
modification du nom
commit a95c3e051181aa16b2a2e8bd95fb7c2c65a690d3
Author: bertoni <marion_bertoni@outlook.fr>
Date: Mon Jan 8 18:21:02 2018 +0100
premier ajout
0.
Avant de commiter affichez les modifications par rapport à la précédente révision ?
`*`
0.
Avant de commiter affichez les modifications par rapport à la précédente révision ?
`*`
##### 2. Les branches
##### 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.
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.
Lister les branches locales et les fichiers présent dans le répertoire courant
`*`
0.
Lister les branches locales et les fichiers présent dans le répertoire courant
`*`
...
...
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