Este conteúdo não está disponível no idioma selecionado.

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
Voltar ao topo
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2025 Red Hat