Skip to content
Snippets Groups Projects
Commit cd75d9fd authored by BMosnier's avatar BMosnier
Browse files

Q1.12

parent fc45c619
No related branches found
No related tags found
No related merge requests found
file2ignore
......@@ -90,8 +90,46 @@ https://gitlab.isima.fr/mazenovi/2017-F2-Forge
$ date > start
0. Créer un nouveau fichier : file2ignore
>
$ touch file2ignore
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: MosnierDrosneTp1.md
Untracked files:
(use "git add <file>..." to include in what will be committed)
file2ignore
no changes added to commit (use "git add" and/or "git commit -a")
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 `*`
>
$ echo "file2ignore" > .gitignore
$ 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: MosnierDrosneTp1.md
Untracked files:
(use "git add <file>..." to include in what will be committed)
.gitignore
no changes added to commit (use "git add" and/or "git commit -a")
$ git add .gitignore
0. Lister le contenu du repertoire courant, afficher le status et la log
0. Avant de commiter affichez les modifications par rapport à la précédente révision ? `*`
......
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