Este contenido no está disponible en el idioma seleccionado.

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
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat