Skip to content
Snippets Groups Projects
Commit c3c948fd authored by EL MKOUDI Anass's avatar EL MKOUDI Anass
Browse files

Q 2.3

parent 118a83dd
Branches myBranch
No related tags found
No related merge requests found
......@@ -205,9 +205,155 @@ Untracked files:
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 `*`
$ touch .gitignore
anelmkoudi@A210PC07 MINGW64 /h/TPs/gdp/myRepo (master)
$ echo file2ignore > .gitignore
$ git add .
warning: LF will be replaced by CRLF in .gitignore.
The file will have its original line endings in your working directory.
anelmkoudi@A210PC07 MINGW64 /h/TPs/gdp/myRepo (master)
$ git commit -m "Q 13"
[master 118a83d] Q 13
Committer: EL MKOUDI Anass <anelmkoudi@rcisima.isima.fr>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly. Run the
following command and follow the instructions in your editor to edit
your configuration file:
git config --global --edit
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
2 files changed, 253 insertions(+)
create mode 100644 .gitignore
create mode 100644 bhn_mkd.md
0. Lister le contenu du repertoire courant, afficher le status et la log
$ ls
bhn_mkd.md file2ignore start.txt
anelmkoudi@A210PC07 MINGW64 /h/TPs/gdp/myRepo (master)
$ git status
On branch master
nothing to commit, working tree clean
anelmkoudi@A210PC07 MINGW64 /h/TPs/gdp/myRepo (master)
$ git log
commit 118a83dda7e1d1e88cb7b6015ddb874f1ebe443a (HEAD -> master)
Author: EL MKOUDI Anass <anelmkoudi@rcisima.isima.fr>
Date: Mon Jan 8 19:09:24 2018 +0100
Q 13
commit bcd3b94d752f9423b7b7dda48f08ac6b49801e2c
Author: EL MKOUDI Anass <anelmkoudi@rcisima.isima.fr>
Date: Mon Jan 8 19:01:19 2018 +0100
Q10 ajout du fichier start
commit e9b6f7847a65f10f689a409023dcc1ae22084995
Author: EL MKOUDI Anass <anelmkoudi@rcisima.isima.fr>
Date: Mon Jan 8 18:38:25 2018 +0100
Q 6 deuxieme renommage du fichier
commit 8e9b2157b67076d62c0143692f30d0ca28d1ab65
Author: EL MKOUDI Anass <anelmkoudi@rcisima.isima.fr>
Date: Mon Jan 8 18:32:51 2018 +0100
Q5 MAJ-CR
commit 7796961e8665c25caadcac3abb22e04f6b8b39ef
Author: EL MKOUDI Anass <anelmkoudi@rcisima.isima.fr>
Date: Mon Jan 8 18:19:44 2018 +0100
ajout de l enonce du TP1
0. Avant de commiter affichez les modifications par rapport à la précédente révision ? `*`
$ git diff HEAD^ HEAD
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..92b7d53
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+file2ignore
diff --git a/bhn_mkd.md b/bhn_mkd.md
new file mode 100644
index 0000000..a7040b4
--- /dev/null
+++ b/bhn_mkd.md
@@ -0,0 +1,252 @@
+# Cours Forge ZZ2 F2 2017
+
+# Infos étudiant :
+
+ * BOUHANNI Hamza
+ * EL MKOUDI Anass
+
+
+## TP 1
+
+
+Télécharger le sujet du TP à l'adresse suivante :
+https://gitlab.isima.fr/mazenovi/2017-F2-Forge
+
+#### 1. Les basiques
+0. Créer un repository git
+$mkdir myRepo
+$ cd myRepo/
+$ git init
+
+Initialized empty Git repository in H:/TPs/gdp/myRepo/.git/
+
+0. _Par la suite pensez à commiter votre compte rendu apres chaques étapes dont l'enoncé est terminé par `*`, pour les messages de commit vous pouvez utiliser les numéros des questions (Ex Q1.2 ici)_
+0. Ajouter le compte rendu dans le repo `*`
+$ git add tp1.md
+
+
+$ git commit -m "ajout de l enonce du TP1"
+[master (root-commit) 7796961] ajout de l enonce du TP1
+ Committer: EL MKOUDI Anass <anelmkoudi@rcisima.isima.fr>
+Your name and email address were configured automatically based
+on your username and hostname. Please check that they are accurate.
+You can suppress this message by setting them explicitly. Run the
+following command and follow the instructions in your editor to edit
+your configuration file:
+
+ git config --global --edit
+
+After doing this, you may fix the identity used for this commit with:
+
+ git commit --amend --reset-author
+
+ 1 file changed, 158 insertions(+)
+ create mode 100644 tp1.md
+
+
+0. Afficher la status de votre copie de travail
+
+$ 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: tp1.md
...
##### 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. Lister les branches locales et les fichiers présent dans le répertoire courant `*`
......
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