Git basic notions

Git basic notions
Theme: 
Test
json: 
{"isOk":true,"type":"pedagogic_data","items":[{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"cr\u00e9er un repo central"},{"col":1,"type":"text","widget":"text","value":"git init --bare"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-init"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"cr\u00e9er un repo local \u00e0 partir du central"},{"col":1,"type":"text","widget":"text","value":"git clone"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-clone"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"cr\u00e9er une branche"},{"col":1,"type":"text","widget":"text","value":"git branch"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":5},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-add"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"lister les branches"},{"col":1,"type":"text","widget":"text","value":"git branch -l"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-branch"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"changer de branche"},{"col":1,"type":"text","widget":"text","value":"git checkout"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-checkout"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"mettre un fichier sous git"},{"col":1,"type":"text","widget":"text","value":"git add"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-add"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"annuler un git add"},{"col":1,"type":"text","widget":"text","value":"git reset HEAD"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-reset"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"commit direct des modifications"},{"col":1,"type":"text","widget":"text","value":"git commit -a"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-commit"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"commit de l'index"},{"col":1,"type":"text","widget":"text","value":"git commit"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-commit"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"ajouter un oubli au commit"},{"col":1,"type":"text","widget":"text","value":"git commit --amend"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-commit"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"revenir au dernier commit sans perte"},{"col":1,"type":"text","widget":"text","value":"git stash"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-stash"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"mise \u00e0 jour du repo central \u00e0 partir du repo local"},{"col":1,"type":"text","widget":"text","value":"git push"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-push"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"mise \u00e0 jour du repo local \u00e0 partir du repo central"},{"col":1,"type":"text","widget":"text","value":"git pull"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-pull"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"mise \u00e0 jour du repo central \u00e0 partir d'un autre repo"},{"col":1,"type":"text","widget":"text","value":"git fetch"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-fetch"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"aide git en ligne"},{"col":1,"type":"text","widget":"text","value":"git help"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-help"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"lister l'index"},{"col":1,"type":"text","widget":"text","value":"git ls-files"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-ls-files"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"\u00e9tat r\u00e9pertoire courant"},{"col":1,"type":"text","widget":"text","value":"git status"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-status"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"voir les modifications faites dans le r\u00e9pertoire par rapport \u00e0 celles prise en compte dans l'index"},{"col":1,"type":"text","widget":"text","value":"git diff"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-diff"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"voir les modifications faites dans le r\u00e9pertoire de travail depuis le dernier commit"},{"col":1,"type":"text","widget":"text","value":"git diff HEAD"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-diff"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"voir les modifications qui seront prises en compte avec la prochaine commande \"git commit\""},{"col":1,"type":"text","widget":"text","value":"git diff --cached"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-diff"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"nettoyage du repository"},{"col":1,"type":"text","widget":"text","value":"git gc"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-gc"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"lister les tags"},{"col":1,"type":"text","widget":"text","value":"git tag -l"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-tag"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"cr\u00e9er un tag"},{"col":1,"type":"text","widget":"text","value":"git tag <tag> <sha>"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-tag"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"renommer foo en bar"},{"col":1,"type":"text","widget":"text","value":"git mv foo bar"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-mv"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"supprimer foo"},{"col":1,"type":"text","widget":"text","value":"rm foo;git rm foo"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-rm"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"autre nom de stagging area"},{"col":1,"type":"text","widget":"text","value":"index"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":6},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-clone"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"autre nom de index"},{"col":1,"type":"text","widget":"text","value":"stagging area"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":6},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-clone"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"quelle commande affiche les d\u00e9pots distants"},{"col":1,"type":"text","widget":"text","value":"git remote -v"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":8},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-clone"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"les principaux protocols Git"},{"col":1,"type":"text","widget":"text","value":"file,ftp,git,http,ssh"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"http:\/\/git-scm.com\/docs\/git-clone"}}],"rule_nb":0,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"cr\u00e9er un repo central"},{"col":1,"type":"text","widget":"text","value":"git init --bare"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-init"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"cr\u00e9er un repo local \u00e0 partir du central"},{"col":1,"type":"text","widget":"text","value":"git clone"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-clone"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"cr\u00e9er une branche"},{"col":1,"type":"text","widget":"text","value":"git branch"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":5},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-add"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"lister les branches"},{"col":1,"type":"text","widget":"text","value":"git branch -l"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-branch"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"changer de branche"},{"col":1,"type":"text","widget":"text","value":"git checkout"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-checkout"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"mettre un fichier sous git"},{"col":1,"type":"text","widget":"text","value":"git add"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-add"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"annuler un git add"},{"col":1,"type":"text","widget":"text","value":"git reset HEAD"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-reset"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"commit direct des modifications"},{"col":1,"type":"text","widget":"text","value":"git commit -a"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-commit"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"commit de l'index"},{"col":1,"type":"text","widget":"text","value":"git commit"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-commit"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"ajouter un oubli au commit"},{"col":1,"type":"text","widget":"text","value":"git commit --amend"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-commit"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"revenir au dernier commit sans perte"},{"col":1,"type":"text","widget":"text","value":"git stash"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-stash"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"update central repo from local repo"},{"col":1,"type":"text","widget":"text","value":"git push"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-push"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"update local repo from central repo"},{"col":1,"type":"text","widget":"text","value":"git pull"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-pull"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"update local repo from other repo"},{"col":1,"type":"text","widget":"text","value":"git fetch"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-fetch"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"aide git en ligne"},{"col":1,"type":"text","widget":"text","value":"git help"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-help"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"lister l'index"},{"col":1,"type":"text","widget":"text","value":"git ls-files"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-ls-files"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"\u00e9tat dir courant"},{"col":1,"type":"text","widget":"text","value":"git status"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-status"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"voir les modifications faites dans le r\u00e9pertoire par rapport \u00e0 celles prise en compte dans l'index"},{"col":1,"type":"text","widget":"text","value":"git diff"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-diff"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"voir les modifications faites dans le r\u00e9pertoire de travail depuis le dernier commit"},{"col":1,"type":"text","widget":"text","value":"git diff HEAD"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-diff"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"voir les modifications qui seront prises en compte avec la prochaine commande \"git commit\""},{"col":1,"type":"text","widget":"text","value":"git diff --cached"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-diff"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"nettoyage du repository"},{"col":1,"type":"text","widget":"text","value":"git gc"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-gc"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"lister les tags"},{"col":1,"type":"text","widget":"text","value":"git tag -l"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-tag"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"cr\u00e9er un tag"},{"col":1,"type":"text","widget":"text","value":"git tag <tag> <sha>"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-tag"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"rename foo to bar"},{"col":1,"type":"text","widget":"text","value":"git mv foo bar"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-mv"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"delete foo"},{"col":1,"type":"text","widget":"text","value":"rm foo;git rm foo"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-rm"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"other name for stagging area"},{"col":1,"type":"text","widget":"text","value":"index"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":6},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-clone"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"other name for index"},{"col":1,"type":"text","widget":"text","value":"stagging area"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":6},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-clone"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"which command display"},{"col":1,"type":"text","widget":"text","value":"git remote -v"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":8},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"git-scm.com\/docs\/git-clone"}}],"rule_nb":1,"i_type":"reg"},{"type":"data","data":[{"col":0,"type":"text","widget":"text","value":"main git protocols"},{"col":1,"type":"text","widget":"text","value":"file,ftp,git,http,ssh"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916],"value":7},{"col":3,"type":"text","widget":"disp","value":"More","dirs":{"link":"http:\/\/git-scm.com\/docs\/git-clone"}}],"rule_nb":1,"i_type":"reg"}],"used_lg":["fr"],"error":[],"warning":["Warning, no language defined for column 4","No control done on piece reference against compound image pieces definition"],"param":{"separators":{"line":"\\r\\n"},"txt_field_nb":3,"img_field_nb":1},"nid":8958,"lesson_lg":"fr","learned_lg":"fr","title":"Git basic notions","theme":"test","ls":"\\r\\n","fs":"%","di":"#","dv":"=","level":1,"usage_presentation":"<p><span style=\"font-size:16px;\"><u><strong>How to create temporary repositories and files to train :<\/strong><\/u><\/span><\/p><ul><li>cd \/tmp<\/li><li>mkdir git_essais<\/li><li>cd git_essais<\/li><li>mkdir remote_dir<\/li><li>mkdir locale_dir<\/li><li>cd remote_dir<\/li><li>git init --bare biblio1.git<\/li><li>git init --bare prod1.git<\/li><li>cd ..\/locale_dir<\/li><li>git clone file:\/\/\/tmp\/git_essais\/remote_dir\/prod1.git<\/li><li>git clone file:\/\/\/tmp\/git_essais\/remote_dir\/biblio1.git<\/li><li>cd prod1<\/li><li>echo &quot;$PWD:line1&quot; &gt;&gt;prod1_1.txt<\/li><li>echo &quot;$PWD:line1&quot; &gt;&gt;prod1_2.txt<\/li><li>git add prod1_1.txt<\/li><li>echo &quot;$PWD:line1&quot; &gt;&gt;prod1_3.txt<\/li><li>git commit -m &quot;adding prod_1_1.txt&quot;<\/li><\/ul>","automate_type":"Lesson","col_desc":[{"role":"master","directives":{"ignore_case":1,"ignore_accent":1,"ignore_space":1,"ignore_punctuation":1},"type":"text","lg":"fr","header":"La question Babel (fr)","widget":"text"},{"role":"minor","directives":{"ignore_case":1,"ignore_accent":1,"ignore_space":1,"ignore_punctuation":1},"type":"text","lg":"fr","header":"Votre r\u00e9ponse (fr)","widget":"text"},{"role":"info","type":"image","lg":"und","header":"Illustration","illustrations":[8916],"sequenceDriven":"piece","widget":"Icone and zoom"},{"role":"info","directives":{"ignore_case":1,"ignore_accent":1,"ignore_space":1,"ignore_punctuation":1},"type":"text","lg":"und","header":"Plus d'informations","widget":"disp","excludedState":["quizz"]}],"col_nb":4,"rules":[{"title":"","presentation":""},{"title":"","presentation":""}],"defaults":{"fields":[{"col":0,"type":"text","widget":"text"},{"col":1,"type":"text","widget":"text"},{"col":2,"type":"image","widget":"Icone and zoom","illustrations":[8916]},{"col":3,"type":"text","widget":"disp"}]},"row_desc":[]}
Usage presentation: 

How to create temporary repositories and files to train :

  • cd /tmp
  • mkdir git_essais
  • cd git_essais
  • mkdir remote_dir
  • mkdir locale_dir
  • cd remote_dir
  • git init --bare biblio1.git
  • git init --bare prod1.git
  • cd ../locale_dir
  • git clone file:///tmp/git_essais/remote_dir/prod1.git
  • git clone file:///tmp/git_essais/remote_dir/biblio1.git
  • cd prod1
  • echo "$PWD:line1" >>prod1_1.txt
  • echo "$PWD:line1" >>prod1_2.txt
  • git add prod1_1.txt
  • echo "$PWD:line1" >>prod1_3.txt
  • git commit -m "adding prod_1_1.txt"
Automate type: 
Lesson
Französisch
Lesson level: 
Basic
Rules and exceptions: 
Regular items: 

créer un repo central%git init --bare%7%More(#link=git-scm.com/docs/git-init)
créer un repo local à partir du central % git clone%7%More(#link=git-scm.com/docs/git-clone)
créer une branche % git branch%5%More(#link=git-scm.com/docs/git-add)
lister les branches % git branch -l%7%More(#link=git-scm.com/docs/git-branch)
changer de branche % git checkout%7%More(#link=git-scm.com/docs/git-checkout)
mettre un fichier sous git % git add%7%More(#link=git-scm.com/docs/git-add)
annuler un git add % git reset HEAD%7%More(#link=git-scm.com/docs/git-reset)
commit direct des modifications % git commit -a%7%More(#link=git-scm.com/docs/git-commit)
commit de l'index % git commit%7%More(#link=git-scm.com/docs/git-commit)
ajouter un oubli au commit % git commit --amend%7%More(#link=git-scm.com/docs/git-commit)
revenir au dernier commit sans perte % git stash%7%More(#link=git-scm.com/docs/git-stash)
mise à jour du repo central à partir du repo local% git push%7%More(#link=git-scm.com/docs/git-push)
mise à jour du repo local à partir du repo central% git pull%7%More(#link=git-scm.com/docs/git-pull)
mise à jour du repo central à partir d'un autre repo % git fetch%7%More(#link=git-scm.com/docs/git-fetch)
aide git en ligne % git help%7%More(#link=git-scm.com/docs/git-help)
lister l'index % git ls-files%7%More(#link=git-scm.com/docs/git-ls-files)
état répertoire courant % git status%7%More(#link=git-scm.com/docs/git-status)
voir les modifications faites dans le répertoire par rapport à celles prise en compte dans l'index % git diff%7%More(#link=git-scm.com/docs/git-diff)
voir les modifications faites dans le répertoire de travail depuis le dernier commit%git diff HEAD%7%More(#link=git-scm.com/docs/git-diff)
voir les modifications qui seront prises en compte avec la prochaine commande "git commit" % git diff --cached%7%More(#link=git-scm.com/docs/git-diff)
nettoyage du repository%git gc%7%More(#link=git-scm.com/docs/git-gc)
lister les tags % git tag -l%7%More(#link=git-scm.com/docs/git-tag)
créer un tag%git tag %7%More(#link=git-scm.com/docs/git-tag)
renommer foo en bar%git mv foo bar%7%More(#link=git-scm.com/docs/git-mv)
supprimer foo%rm foo; git rm foo%7%More(#link=git-scm.com/docs/git-rm)
autre nom de stagging area%index%6%More(#link=git-scm.com/docs/git-clone)
autre nom de index%stagging area%6%More(#link=git-scm.com/docs/git-clone)
quelle commande affiche les dépots distants%git remote -v%8%More(#link=git-scm.com/docs/git-clone)
les principaux protocols Git%file,ftp,git,http,ssh%7%More(#link=http://git-scm.com/docs/git-clone)

Regular items: 

créer un repo central%git init --bare%7%More(#link=git-scm.com/docs/git-init)
créer un repo local à partir du central % git clone%7%More(#link=git-scm.com/docs/git-clone)
créer une branche % git branch%5%More(#link=git-scm.com/docs/git-add)
lister les branches % git branch -l%7%More(#link=git-scm.com/docs/git-branch)
changer de branche % git checkout%7%More(#link=git-scm.com/docs/git-checkout)
mettre un fichier sous git % git add%7%More(#link=git-scm.com/docs/git-add)
annuler un git add % git reset HEAD%7%More(#link=git-scm.com/docs/git-reset)
commit direct des modifications % git commit -a%7%More(#link=git-scm.com/docs/git-commit)
commit de l'index % git commit%7%More(#link=git-scm.com/docs/git-commit)
ajouter un oubli au commit % git commit --amend%7%More(#link=git-scm.com/docs/git-commit)
revenir au dernier commit sans perte % git stash%7%More(#link=git-scm.com/docs/git-stash)
update central repo from local repo % git push%7%More(#link=git-scm.com/docs/git-push)
update local repo from central repo % git pull%7%More(#link=git-scm.com/docs/git-pull)
update local repo from other repo % git fetch%7%More(#link=git-scm.com/docs/git-fetch)
aide git en ligne % git help%7%More(#link=git-scm.com/docs/git-help)
lister l'index % git ls-files%7%More(#link=git-scm.com/docs/git-ls-files)
état dir courant % git status%7%More(#link=git-scm.com/docs/git-status)
voir les modifications faites dans le répertoire par rapport à celles prise en compte dans l'index % git diff%7%More(#link=git-scm.com/docs/git-diff)
voir les modifications faites dans le répertoire de travail depuis le dernier commit%git diff HEAD%7%More(#link=git-scm.com/docs/git-diff)
voir les modifications qui seront prises en compte avec la prochaine commande "git commit" % git diff --cached%7%More(#link=git-scm.com/docs/git-diff)
nettoyage du repository%git gc%7%More(#link=git-scm.com/docs/git-gc)
lister les tags % git tag -l%7%More(#link=git-scm.com/docs/git-tag)
créer un tag%git tag %7%More(#link=git-scm.com/docs/git-tag)
rename foo to bar%git mv foo bar%7%More(#link=git-scm.com/docs/git-mv)
delete foo%rm foo; git rm foo%7%More(#link=git-scm.com/docs/git-rm)
other name for stagging area%index%6%More(#link=git-scm.com/docs/git-clone)
other name for index%stagging area%6%More(#link=git-scm.com/docs/git-clone)
which command display%git remote -v%8%More(#link=git-scm.com/docs/git-clone)
main git protocols%file,ftp,git,http,ssh%7%More(#link=http://git-scm.com/docs/git-clone)

Column marker: 
%
Directive label inductor: 
#
Directive value inductor: 
=
Columns description: 
Column type: 
Text
Header: 
La question Babel (fr)
Column role: 
Master
Column type: 
Text
Header: 
Votre réponse (fr)
Text widget: 
insert text
Column role: 
Minor
Ignore case: 
Ignore case if checked
Ignore accent: 
Ignore accent if checked
Ignore white space: 
Ignore white space if checked
Ignore ponctuation: 
Ignore ponctuation if checked
Column type: 
Image
Header: 
Illustration
Column role: 
Information
Illustrations: 
git objects
Sequence driven: 
piece
Column type: 
Text
Header: 
Plus d'informations
Exclude display on state: 
Quizz
Column role: 
Information