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
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat