Class PushConfig


  • public class PushConfig
    extends Object
    Push section of a Git configuration file.
    Since:
    4.9
    • Constructor Detail

      • PushConfig

        public PushConfig​(Config config)
        Creates a new instance.
        Parameters:
        config - Config to fill the PushConfig from
        Since:
        6.1
    • Method Detail

      • getPushDefault

        public PushConfig.PushDefault getPushDefault()
        Retrieves the value of git config push.default.
        Returns:
        the value
        Since:
        6.1