Skip to content
Snippets Groups Projects
Commit 52f744d0 authored by bertoni's avatar bertoni
Browse files

19h32

parent ae1b0d7f
No related branches found
No related tags found
No related merge requests found
......@@ -149,21 +149,69 @@ https://gitlab.isima.fr/mazenovi/2017-F2-Forge
premier ajout
0. Avant de commiter affichez les modifications par rapport à la précédente révision ? `*`
$ git diff HEAD 39cc64
diff --git a/Bertoni Walczyszyn tp1 cpw.md b/Bertoni Walczyszyn tp1 cpw.md
index 24d2b78..d503c57 100644
--- a/Bertoni Walczyszyn tp1 cpw.md
+++ b/Bertoni Walczyszyn tp1 cpw.md
@@ -52,12 +52,11 @@ https://gitlab.isima.fr/mazenovi/2017-F2-Forge
renamed: tp1 cpw.md -> Bertoni Walczyszyn tp1 cpw.md
-
- $ git commit -a --amend -m"modification du nom"
- [master 4773e48] modification du nom
- Date: Mon Jan 8 18:30:28 2018 +0100
- 1 file changed, 8 insertions(+), 87 deletions(-)
- rename tp1 cpw.md => Bertoni Walczyszyn tp1 cpw.md (61%)
+ $ git commit -a --amend -m"modification du nom"
+ [master 4773e48] modification du nom
+ Date: Mon Jan 8 18:30:28 2018 +0100
+ 1 file changed, 8 insertions(+), 87 deletions(-)
+ rename tp1 cpw.md => Bertoni Walczyszyn tp1 cpw.md (61%)
0. Afficher l'historique de votre repo
@@ -80,12 +79,81 @@ https://gitlab.isima.fr/mazenovi/2017-F2-Forge
de nom du fichier.
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index eb0899c..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-file2ignore.txt
##### 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 branch BertoniWalczyszyn
0. Lister les branches locales et les fichiers présent dans le répertoire courant `*`
$ git branch
BertoniWalczyszyn
* master
$ ls -a
./ ../ .git/ .gitignore 'Bertoni Walczyszyn tp1 cpw.md' file2ignore.txt start.txt
0. Aficher le status de votre repo `*`
$ git status
On branch master
nothing to commit, working tree clean
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. Pourquoi les 2 branches pointent elles sur la même révision ?`*`
0. Afficher à nouvea l'historique pour montrer les modifications suite au précédent commit `*`
0. Revenir la brache `mybranch`
0. Où sont passé vos reponces au point 2.4 ? `*`
0. Afficher à nouveau l'historique pour montrer les modifications suite au précédent commit `*`
0. Revenir la branche `mybranch`
0. Où sont passées vos reponses au point 2.4 ? `*`
0. Affichez un historique sous forme de graph (`a dog`) de votre repo, Que peux ton en dire ?
0. Revenir sur la branche master
0. Ajoutez et commitez un fichier (touch new_file)
......@@ -191,8 +239,24 @@ https://gitlab.isima.fr/mazenovi/2017-F2-Forge
##### 4. Remote
0. Afficher l'historique de votre repo
0. Ajouter le projet "2017-F2-Forge" comme repository distant `*`
$ git remote add origin https://mabertoni1@gitlab.isima.fr/mazenovi/2017-F2-Forge.git
0. Lister les branches distantes
0. Pousser votre branche de votre repo local sur le repos distant `*`
$ git push origin BertoniWalczyszyn
Counting objects: 13, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (10/10), done.
Writing objects: 100% (13/13), 4.63 KiB | 592.00 KiB/s, done.
Total 13 (delta 2), reused 0 (delta 0)
remote:
remote: To create a merge request for BertoniWalczyszyn, visit:
remote: https://gitlab.isima.fr/mazenovi/2017-F2-Forge/merge_requests/new?merge_request%5Bsource_branch%5D=BertoniWalczyszyn
remote:
To https://gitlab.isima.fr/mazenovi/2017-F2-Forge.git
* [new branch] BertoniWalczyszyn -> BertoniWalczyszyn
0. En consultant votre branche sous gitlab, vous devriez constaté que la date de modification du fichier start est plus acienne que celle de votre compte rendu, porquoi alors que le push de toute votre branche est faite en une seule fois ?
0. Supprimer le dossier .git
0. Faire un git status ?
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