Ce contenu n'est pas disponible dans la langue sélectionnée.

7.32. fabric:git-master


Abstract

checks and/or changes the container that is the git master in the cluster

Synopsis

fabric:git-master [ options ] [ container ]

Description

This command checks and/or changes the container that is the git master in the cluster.
Note
This command is only available from R13 and later.
If you use the fabric:git-master command without any options, it displays the name of the current git master container.
fabric:git-master
Copy to Clipboard Toggle word wrap
Current Git master is: child3
Copy to Clipboard Toggle word wrap
If you specify a container using the fabric:git-master command, it assigns that container as the master.
fabric:git-master root
Copy to Clipboard Toggle word wrap
Changing Git master to new cluster member: root
Copy to Clipboard Toggle word wrap

Arguments

Table 7.32, “fabric:git-master Arguments” describes the command's arguments.
Expand
Table 7.32. fabric:git-master Arguments
ArgumentInterpretation
containerSpecifies the new master container
--helpDisplays the online help for this command
Retour au début
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2025 Red Hat