Changer le message d’un vieux commit dans GIT


Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 700

Warning: Invalid argument supplied for foreach() in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 707

Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 700

Warning: Invalid argument supplied for foreach() in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 707

Pour changer le message du dernier commit non pushé, il suffit d’appeler la commande :

git commit --amend -m 'votre message'

Avec GIT, vous pouvez aussi changer le message d’un commit non pushé plus vieux. (more…)

Continue Reading

Utiliser repo


Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 700

Warning: Invalid argument supplied for foreach() in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 707

Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 700

Warning: Invalid argument supplied for foreach() in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 707

Pourquoi utiliser l’outil repo lors d’un développement Android ?

Avec environ 8.5 millions de lignes de code (sans inclure le kernel Linux), conserver l’ensemble du code source d’Android dans un seul répertoire peut s’avérer difficile. Pour faciliter le développement par des partenaires OEMGoogle fournit un système de gestion de version reposant sous GIT, capable de :

  • définir un contrôle d’accès basé sur l’arborescence
  • créer des composants modulables (projets) et  substituables

Repo utilise un manifest listant un ensemble de dépôts GIT (projets). Ce manifest permet la fusion sous un seul workspace de plusieurs projets. Il n’a pas pour vocation à remplacer GIT car il se place au dessus. Repo a pour objectif principal de rendre le workflow plus facile.

(more…)

Continue Reading

Créer et appliquer un patch avec GIT


Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 700

Warning: Invalid argument supplied for foreach() in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 707

Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 700

Warning: Invalid argument supplied for foreach() in /homepages/41/d295934413/htdocs/site/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 707

Un patch est une section de code que l’on ajoute à un logiciel pour y apporter des modifications comme un correctif par exemple.  Créer un patch sous GIT est plutôt facile, nous allons voir ici comment créer un patch à partir d’un ou d’une liste de commits pour pouvoir les appliquer dans d’autres dépôts. Par ailleurs, il est  plus intéressant de travailler avec les branches de GIT pour le développement de nouvelles fonctionnalités. (more…)

Continue Reading
Close Menu