{"id":6911,"date":"2025-02-09T21:52:17","date_gmt":"2025-02-09T21:52:17","guid":{"rendered":"https:\/\/hassan-ndam.com\/?p=6911"},"modified":"2025-02-09T21:55:53","modified_gmt":"2025-02-09T21:55:53","slug":"booster-son-workflow-avec-des-commits-structures","status":"publish","type":"post","link":"https:\/\/hassan-ndam.com\/en\/booster-son-workflow-avec-des-commits-structures\/","title":{"rendered":"Booster son workflow avec des commits structur\u00e9s"},"content":{"rendered":"<p>Bonjour \u00e0 tous, c&rsquo;est lundi ! \ud83d\udc4b<br>Vous avez d\u00e9j\u00e0 relu un historique Git rempli de \u00ab\u00a0fix\u00a0\u00bb, \u00ab\u00a0test\u00a0\u00bb, \u00ab\u00a0final_v2_bis\u00a0\u00bb, \u00ab\u00a0First step\u00a0\u00bb et pleur\u00e9 ? \ud83d\ude2d Aujourd\u2019hui, on va parler de commits clairs et structur\u00e9s, pour que votre futur vous (et vos coll\u00e8gues) vous remercie.<br><br>\u2705 Pourquoi des commits propres ?<br>Parce que Git, c\u2019est comme un journal de bord : si vous \u00e9crivez n\u2019importe quoi, personne ne comprendra rien\u2026 m\u00eame vous, dans deux semaines\u2026 ou plut\u00f4t deux heures apr\u00e8s \ud83d\ude05\u00a0\u00bb<br><br>\u2705 Adopter une bonne structure de commit<br>Un bon commit suit une structure logique \u00ab\u00a0type: courte description\u00a0\u00bb<br><br>Dans mon cas je suis toujours la structure \u00ab\u00a0feat : ajout du mode sombre\u00a0\u00bb :<br><br>1) feat: Pour une nouvelle fonctionnalit\u00e9<br>2) fix: Pour une correction de bug<br>3) chore: Pour des t\u00e2ches annexes (MAJ de d\u00e9pendances\u2026)<br>4) docs: Pour de la documentation<br>5) refactor: Pour am\u00e9liorer le code sans modifier son fonctionnement<br>6) test: Pour ajouter\/modifier des tests<br><br>\ud83d\udc4d Suivre une logique<br>\u274c Mauvais : \u00ab\u00a0Modifications diverses\u00a0\u00bb<br>\u2705 Bon : \u00ab\u00a0fix: correction de bug affichage tablette\u00a0\u00bb<br><br>\ud83d\udca1 Pourquoi \u00e7a change tout ?<br><br>&#8211; Facilite le debug : Un bug ? On retrouve plus vite le commit fautif.<br>&#8211; Am\u00e9liore la collaboration au sein de l&rsquo;\u00e9quipe.<br>&#8211; Un historique Git plus propre et compr\u00e9hensible.<br><br>Il est important d&rsquo;uniformiser vos commits pour la meilleure collaboration dans votre \u00e9quipe. Si vous \u00e9crivez vos commits en anglais, faites-le syst\u00e9matiquement.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.linkedin.com\/search\/results\/all\/?keywords=%23dev&amp;origin=HASH_TAG_FROM_FEED\">#Dev<\/a> <a href=\"https:\/\/www.linkedin.com\/search\/results\/all\/?keywords=%23code&amp;origin=HASH_TAG_FROM_FEED\">#Code<\/a> <a href=\"https:\/\/www.linkedin.com\/search\/results\/all\/?keywords=%23gitcommit&amp;origin=HASH_TAG_FROM_FEED\">#GitCommit<\/a> <a href=\"https:\/\/www.linkedin.com\/search\/results\/all\/?keywords=%23bestpractices&amp;origin=HASH_TAG_FROM_FEED\">#BestPractices<\/a> <a href=\"https:\/\/www.linkedin.com\/search\/results\/all\/?keywords=%23cleancode&amp;origin=HASH_TAG_FROM_FEED\">#CleanCode<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Bonjour \u00e0 tous, c&rsquo;est lundi ! \ud83d\udc4bVous avez d\u00e9j\u00e0 relu un historique Git rempli de \u00ab\u00a0fix\u00a0\u00bb, \u00ab\u00a0test\u00a0\u00bb, \u00ab\u00a0final_v2_bis\u00a0\u00bb, \u00ab\u00a0First step\u00a0\u00bb et pleur\u00e9 ? \ud83d\ude2d Aujourd\u2019hui, on va parler de commits clairs et structur\u00e9s, pour que votre futur vous (et vos coll\u00e8gues) vous remercie. \u2705 Pourquoi des commits propres ?Parce que Git, c\u2019est comme un journal [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6912,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[35],"tags":[],"class_list":["post-6911","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Booster son workflow avec des commits structur\u00e9s - NDAM NJOYA<\/title>\n<meta name=\"description\" content=\"Si vous souhaitez booster votre fa\u00e7on de collaborer dans votre \u00e9quipe il est important de booster votre workflow pour vos commits.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hassan-ndam.com\/en\/booster-son-workflow-avec-des-commits-structures\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Booster son workflow avec des commits structur\u00e9s - NDAM NJOYA\" \/>\n<meta property=\"og:description\" content=\"Si vous souhaitez booster votre fa\u00e7on de collaborer dans votre \u00e9quipe il est important de booster votre workflow pour vos commits.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hassan-ndam.com\/en\/booster-son-workflow-avec-des-commits-structures\/\" \/>\n<meta property=\"og:site_name\" content=\"NDAM NJOYA\" \/>\n<meta property=\"article:published_time\" content=\"2025-02-09T21:52:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-09T21:55:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hassan-ndam.com\/wp-content\/uploads\/2025\/02\/BoosteR-son-Workflow-avec-des-Commits-Structures.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"1200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hassan-ndam.com\/booster-son-workflow-avec-des-commits-structures\/\",\"url\":\"https:\/\/hassan-ndam.com\/booster-son-workflow-avec-des-commits-structures\/\",\"name\":\"Booster son workflow avec des commits structur\u00e9s - NDAM NJOYA\",\"isPartOf\":{\"@id\":\"https:\/\/hassan-ndam.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/hassan-ndam.com\/booster-son-workflow-avec-des-commits-structures\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/hassan-ndam.com\/booster-son-workflow-avec-des-commits-structures\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hassan-ndam.com\/wp-content\/uploads\/2025\/02\/BoosteR-son-Workflow-avec-des-Commits-Structures.png\",\"datePublished\":\"2025-02-09T21:52:17+00:00\",\"dateModified\":\"2025-02-09T21:55:53+00:00\",\"author\":{\"@id\":\"https:\/\/hassan-ndam.com\/#\/schema\/person\/e7717169402f57fd4f9ce53b17ebafaa\"},\"description\":\"Si vous souhaitez booster votre fa\u00e7on de collaborer dans votre \u00e9quipe il est important de booster votre workflow pour vos commits.\",\"breadcrumb\":{\"@id\":\"https:\/\/hassan-ndam.com\/booster-son-workflow-avec-des-commits-structures\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hassan-ndam.com\/booster-son-workflow-avec-des-commits-structures\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/hassan-ndam.com\/booster-son-workflow-avec-des-commits-structures\/#primaryimage\",\"url\":\"https:\/\/hassan-ndam.com\/wp-content\/uploads\/2025\/02\/BoosteR-son-Workflow-avec-des-Commits-Structures.png\",\"contentUrl\":\"https:\/\/hassan-ndam.com\/wp-content\/uploads\/2025\/02\/BoosteR-son-Workflow-avec-des-Commits-Structures.png\",\"width\":1200,\"height\":1200},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hassan-ndam.com\/booster-son-workflow-avec-des-commits-structures\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/hassan-ndam.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Booster son workflow avec des commits structur\u00e9s\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hassan-ndam.com\/#website\",\"url\":\"https:\/\/hassan-ndam.com\/\",\"name\":\"NDAM NJOYA\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hassan-ndam.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/hassan-ndam.com\/#\/schema\/person\/e7717169402f57fd4f9ce53b17ebafaa\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/hassan-ndam.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3ec97c2e1d7ab8e746f7e9f1755f8d91bf538e1730adb961e7eb8cf749d2bdff?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3ec97c2e1d7ab8e746f7e9f1755f8d91bf538e1730adb961e7eb8cf749d2bdff?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/hassan-ndam.com\"],\"url\":\"https:\/\/hassan-ndam.com\/en\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Booster son workflow avec des commits structur\u00e9s - NDAM NJOYA","description":"Si vous souhaitez booster votre fa\u00e7on de collaborer dans votre \u00e9quipe il est important de booster votre workflow pour vos commits.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hassan-ndam.com\/en\/booster-son-workflow-avec-des-commits-structures\/","og_locale":"en_GB","og_type":"article","og_title":"Booster son workflow avec des commits structur\u00e9s - NDAM NJOYA","og_description":"Si vous souhaitez booster votre fa\u00e7on de collaborer dans votre \u00e9quipe il est important de booster votre workflow pour vos commits.","og_url":"https:\/\/hassan-ndam.com\/en\/booster-son-workflow-avec-des-commits-structures\/","og_site_name":"NDAM NJOYA","article_published_time":"2025-02-09T21:52:17+00:00","article_modified_time":"2025-02-09T21:55:53+00:00","og_image":[{"width":1200,"height":1200,"url":"https:\/\/hassan-ndam.com\/wp-content\/uploads\/2025\/02\/BoosteR-son-Workflow-avec-des-Commits-Structures.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/hassan-ndam.com\/booster-son-workflow-avec-des-commits-structures\/","url":"https:\/\/hassan-ndam.com\/booster-son-workflow-avec-des-commits-structures\/","name":"Booster son workflow avec des commits structur\u00e9s - NDAM NJOYA","isPartOf":{"@id":"https:\/\/hassan-ndam.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hassan-ndam.com\/booster-son-workflow-avec-des-commits-structures\/#primaryimage"},"image":{"@id":"https:\/\/hassan-ndam.com\/booster-son-workflow-avec-des-commits-structures\/#primaryimage"},"thumbnailUrl":"https:\/\/hassan-ndam.com\/wp-content\/uploads\/2025\/02\/BoosteR-son-Workflow-avec-des-Commits-Structures.png","datePublished":"2025-02-09T21:52:17+00:00","dateModified":"2025-02-09T21:55:53+00:00","author":{"@id":"https:\/\/hassan-ndam.com\/#\/schema\/person\/e7717169402f57fd4f9ce53b17ebafaa"},"description":"Si vous souhaitez booster votre fa\u00e7on de collaborer dans votre \u00e9quipe il est important de booster votre workflow pour vos commits.","breadcrumb":{"@id":"https:\/\/hassan-ndam.com\/booster-son-workflow-avec-des-commits-structures\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hassan-ndam.com\/booster-son-workflow-avec-des-commits-structures\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/hassan-ndam.com\/booster-son-workflow-avec-des-commits-structures\/#primaryimage","url":"https:\/\/hassan-ndam.com\/wp-content\/uploads\/2025\/02\/BoosteR-son-Workflow-avec-des-Commits-Structures.png","contentUrl":"https:\/\/hassan-ndam.com\/wp-content\/uploads\/2025\/02\/BoosteR-son-Workflow-avec-des-Commits-Structures.png","width":1200,"height":1200},{"@type":"BreadcrumbList","@id":"https:\/\/hassan-ndam.com\/booster-son-workflow-avec-des-commits-structures\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/hassan-ndam.com\/"},{"@type":"ListItem","position":2,"name":"Booster son workflow avec des commits structur\u00e9s"}]},{"@type":"WebSite","@id":"https:\/\/hassan-ndam.com\/#website","url":"https:\/\/hassan-ndam.com\/","name":"NDAM NJOYA","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hassan-ndam.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/hassan-ndam.com\/#\/schema\/person\/e7717169402f57fd4f9ce53b17ebafaa","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/hassan-ndam.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3ec97c2e1d7ab8e746f7e9f1755f8d91bf538e1730adb961e7eb8cf749d2bdff?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3ec97c2e1d7ab8e746f7e9f1755f8d91bf538e1730adb961e7eb8cf749d2bdff?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/hassan-ndam.com"],"url":"https:\/\/hassan-ndam.com\/en\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/hassan-ndam.com\/en\/wp-json\/wp\/v2\/posts\/6911","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hassan-ndam.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hassan-ndam.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hassan-ndam.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hassan-ndam.com\/en\/wp-json\/wp\/v2\/comments?post=6911"}],"version-history":[{"count":3,"href":"https:\/\/hassan-ndam.com\/en\/wp-json\/wp\/v2\/posts\/6911\/revisions"}],"predecessor-version":[{"id":6916,"href":"https:\/\/hassan-ndam.com\/en\/wp-json\/wp\/v2\/posts\/6911\/revisions\/6916"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hassan-ndam.com\/en\/wp-json\/wp\/v2\/media\/6912"}],"wp:attachment":[{"href":"https:\/\/hassan-ndam.com\/en\/wp-json\/wp\/v2\/media?parent=6911"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hassan-ndam.com\/en\/wp-json\/wp\/v2\/categories?post=6911"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hassan-ndam.com\/en\/wp-json\/wp\/v2\/tags?post=6911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}