{"id":90049,"date":"2020-07-28T13:42:42","date_gmt":"2020-07-28T11:42:42","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/novaya-versiya-git-2-28-pozvolyayushhaya-ne-ispolzovat-imya-master-dlya-osnovnyh-vetok"},"modified":"2020-07-28T13:42:42","modified_gmt":"2020-07-28T11:42:42","slug":"novaya-versiya-git-2-28-pozvolyayushhaya-ne-ispolzovat-imya-master-dlya-osnovnyh-vetok","status":"publish","type":"post","link":"https:\/\/prohoster.info\/fr\/blog\/news\/novaya-versiya-git-2-28-pozvolyayushhaya-ne-ispolzovat-imya-master-dlya-osnovnyh-vetok","title":{"rendered":"Nouvelle version de Git 2.28, permettant de ne pas utiliser le nom \u00ab master \u00bb pour les branches principales.","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><noindex><a rel=\"nofollow\" href=\"https:\/\/lkml.org\/lkml\/2020\/7\/27\/1375\">Disponible<\/a><\/noindex> lancement d'un syst\u00e8me de gestion d\u00e9centralis\u00e9 des textes sources <noindex><a rel=\"nofollow\" href=\"http:\/\/git-scm.com\/\">Git 2.28.0<\/a><\/noindex>. Git est l'un des syst\u00e8mes de gestion de versions les plus populaires, fiables et performants, offrant des outils flexibles pour le d\u00e9veloppement non lin\u00e9aire bas\u00e9s sur la branche et la fusion des branches. Pour garantir l'int\u00e9grit\u00e9 de l'historique et la r\u00e9sistance aux modifications \u00ab r\u00e9troactives \u00bb, un hachage implicite de toute l'histoire pr\u00e9c\u00e9dente est utilis\u00e9 dans chaque commit ; la v\u00e9rification par des signatures num\u00e9riques des d\u00e9veloppeurs pour certains tags et commits est \u00e9galement possible. <\/p>\n<p>Compar\u00e9 \u00e0 la version pr\u00e9c\u00e9dente, la nouvelle version int\u00e8gre 317 modifications, pr\u00e9par\u00e9es avec la participation de 58 d\u00e9veloppeurs, dont 13 ont particip\u00e9 au d\u00e9veloppement pour la premi\u00e8re fois. Principales  <noindex><a rel=\"nofollow\" href=\"https:\/\/github.blog\/2020-07-27-highlights-from-git-2-28\/\">nouveaut\u00e9s<\/a><\/noindex>:\n<\/p>\n<ul>\n<li class=\"l\"> Une nouvelle configuration init.defaultBranch a \u00e9t\u00e9 ajout\u00e9e, permettant de choisir un nom arbitraire pour la branche principale, qui sera appliqu\u00e9 par d\u00e9faut. Cette configuration a \u00e9t\u00e9 ajout\u00e9e pour les projets dont les d\u00e9veloppeurs sont d\u00e9rang\u00e9s par le souvenir de l'esclavage, et le mot \u00ab master \u00bb est per\u00e7u comme une insinuation offensante ou \u00e9voque des tourments de l'\u00e2me et un sentiment de culpabilit\u00e9 non expi\u00e9e. <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/github\/renaming\">GitHub<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/gitlab.com\/gitlab-org\/gitlab\/-\/issues\/221164\">GitLab<\/a><\/noindex> et <noindex><a rel=\"nofollow\" href=\"https:\/\/bitbucket.org\/blog\/moving-away-from-master-as-the-default-name-for-branches-in-git\">Bitbucket<\/a><\/noindex> Il a \u00e9t\u00e9 d\u00e9cid\u00e9 d'utiliser le mot \u00ab main \u00bb par d\u00e9faut, au lieu du mot \u00ab master \u00bb pour les branches principales. Dans Git, comme auparavant, lors de l'ex\u00e9cution de la commande \u00ab git init \u00bb, la branche \u00ab master \u00bb continue d'\u00eatre cr\u00e9\u00e9e par d\u00e9faut, mais ce nom peut d\u00e9sormais \u00eatre modifi\u00e9. Par exemple, pour changer le nom de la branche initiale en \u00ab main \u00bb, vous pouvez utiliser la commande :\n<p>   git config \u2014global init.defaultBranch main<\/p>\n<li class=\"l\"> Des optimisations de performance ont \u00e9t\u00e9 ajout\u00e9es, bas\u00e9es sur l'apparition du format de fichier commit-graph, utilis\u00e9 pour optimiser l'acc\u00e8s aux informations sur les commits, et le soutien  <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%A4%D0%B8%D0%BB%D1%8C%D1%82%D1%80_%D0%91%D0%BB%D1%83%D0%BC%D0%B0\">Bloom<\/a><\/noindex>, \u00e0 structure probabiliste, permettant la fausse d\u00e9finition d'un \u00e9l\u00e9ment manquant, mais excluant la n\u00e9gligence d'un \u00e9l\u00e9ment existant. La structure sp\u00e9cifi\u00e9e permet d'acc\u00e9l\u00e9rer consid\u00e9rablement la recherche dans l'historique des modifications lors de l'utilisation des commandes \u00ab git log \u2014  \u00bb ou \u00ab git blame \u00bb.\n<li class=\"l\"> Dans la commande \u00ab git status \u00bb, les informations sur l'avancement d'une op\u00e9ration de clonage partiel (sparse-checkout) sont d\u00e9sormais affich\u00e9es.\n<li class=\"l\"> Pour les commandes de la famille \u00ab diff \u00bb, une nouvelle configuration \u00ab diff.relative \u00bb a \u00e9t\u00e9 propos\u00e9e.\n<li class=\"l\"> Lors de la v\u00e9rification via \u00ab git fsck \u00bb, le tri de l'arbre d'objets est d\u00e9sormais \u00e9valu\u00e9 et les \u00e9l\u00e9ments non tri\u00e9s sont d\u00e9tect\u00e9s.\n<li class=\"l\"> L'interface pour l'\u00e9dition des informations confidentielles dans la sortie de trace a \u00e9t\u00e9 simplifi\u00e9e.\n<li class=\"l\"> Dans le script d'auto-compl\u00e9tion, une prise en charge des options de la commande \u00ab git switch \u00bb a \u00e9t\u00e9 ajout\u00e9e.\n<li class=\"l\"> Le support de la transmission d'arguments dans diff\u00e9rentes notations a \u00e9t\u00e9 ajout\u00e9 \u00e0 \u00ab git diff \u00bb (par exemple, \u00ab git diff A..B C \u00bb, \u00ab git diff A..B C\u2026D \u00bb, etc.).\n<li class=\"l\"> La commande \u00ab git fast-export \u2014anonymize \u00bb a \u00e9t\u00e9 ajout\u00e9e avec la possibilit\u00e9 de d\u00e9finir son propre mappage d'\u00e9l\u00e9ments pour un affinement de la sortie, afin de la rendre plus conviviale pour le d\u00e9bogage.\n<li class=\"l\"> Dans \u00abgit gui\u00bb, il est permis d'ouvrir des arbres de travail \u00e0 partir du dialogue initial.\n<li class=\"l\"> Le protocole \u00abfetch\/clone\u00bb a mis en \u0153uvre la possibilit\u00e9 pour le serveur d'informer le client de la n\u00e9cessit\u00e9 de t\u00e9l\u00e9charger des fichiers pack pr\u00e9par\u00e9s \u00e0 l'avance en plus des donn\u00e9es d'objet emball\u00e9es transmises.\n<li class=\"l\">  Le travail se poursuit pour passer \u00e0 l'algorithme de hachage SHA-256 au lieu de SHA-1.\n<\/ul>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Source : <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=53441\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0414\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c\u0438 \u0442\u0435\u043a\u0441\u0442\u0430\u043c\u0438 Git 2.28.0. Git \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445, \u043d\u0430\u0434\u0451\u0436\u043d\u044b\u0445 \u0438 \u0432\u044b\u0441\u043e\u043a\u043e\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0432\u0435\u0440\u0441\u0438\u044f\u043c\u0438, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u0439 \u0433\u0438\u0431\u043a\u0438\u0435 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u043d\u0435\u043b\u0438\u043d\u0435\u0439\u043d\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u0431\u0430\u0437\u0438\u0440\u0443\u044e\u0449\u0438\u0435\u0441\u044f \u043d\u0430 \u043e\u0442\u0432\u0435\u0442\u0432\u043b\u0435\u043d\u0438\u0438 \u0438 \u0441\u043b\u0438\u044f\u043d\u0438\u0438 \u0432\u0435\u0442\u043e\u043a. \u0414\u043b\u044f \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u0446\u0435\u043b\u043e\u0441\u0442\u043d\u043e\u0441\u0442\u0438 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u0438 \u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u0438 \u043a \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c &#171;\u0437\u0430\u0434\u043d\u0438\u043c \u0447\u0438\u0441\u043b\u043e\u043c&#187; \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u043d\u0435\u044f\u0432\u043d\u043e\u0435 \u0445\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432\u0441\u0435\u0439 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u0432 \u043a\u0430\u0436\u0434\u043e\u043c \u043a\u043e\u043c\u043c\u0438\u0442\u0435, \u0442\u0430\u043a\u0436\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0443\u0434\u043e\u0441\u0442\u043e\u0432\u0435\u0440\u0435\u043d\u0438\u0435 \u0446\u0438\u0444\u0440\u043e\u0432\u044b\u043c\u0438 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-90049","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0414\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c\u0438 \u0442\u0435\u043a\u0441\u0442\u0430\u043c\u0438 Git.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/fr\/blog\/news\/novaya-versiya-git-2-28-pozvolyayushhaya-ne-ispolzovat-imya-master-dlya-osnovnyh-vetok\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"fr_FR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u041d\u043e\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f Git 2.28, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0430\u044f \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u043c\u044f \u00abmaster\u00bb \u0434\u043b\u044f \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0432\u0435\u0442\u043e\u043a | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0414\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c\u0438 \u0442\u0435\u043a\u0441\u0442\u0430\u043c\u0438 Git.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/fr\/blog\/news\/novaya-versiya-git-2-28-pozvolyayushhaya-ne-ispolzovat-imya-master-dlya-osnovnyh-vetok\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-07-28T11:42:42+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-07-28T11:42:42+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Nouvelle version de Git 2.28, permettant de ne pas utiliser le nom \u00abmaster\u00bb pour les branches principales | ProHoster","description":"La version du syst\u00e8me de gestion de version distribu\u00e9 Git est maintenant disponible.","canonical_url":"https:\/\/prohoster.info\/fr\/blog\/news\/novaya-versiya-git-2-28-pozvolyayushhaya-ne-ispolzovat-imya-master-dlya-osnovnyh-vetok","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"fr_FR","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u041d\u043e\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f Git 2.28, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0430\u044f \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u043c\u044f \u00abmaster\u00bb \u0434\u043b\u044f \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0432\u0435\u0442\u043e\u043a | ProHoster","og:description":"\u0414\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c\u0438 \u0442\u0435\u043a\u0441\u0442\u0430\u043c\u0438 Git.","og:url":"https:\/\/prohoster.info\/fr\/blog\/news\/novaya-versiya-git-2-28-pozvolyayushhaya-ne-ispolzovat-imya-master-dlya-osnovnyh-vetok","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-07-28T11:42:42+00:00","article:modified_time":"2020-07-28T11:42:42+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"90049","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 12:59:44","updated":"2022-10-02 04:10:43","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts\/90049","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/comments?post=90049"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts\/90049\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/media?parent=90049"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/categories?post=90049"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/tags?post=90049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}