| Modifier and Type | Class and Description |
|---|---|
| public static enum | PushConfig.
Git config values for |
| public static enum | PushConfig.
Git config values for |
| Modifier and Type | Field and Description |
|---|---|
| private final PushConfig. | |
| private final PushConfig. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public PushConfig. | |
| public PushConfig. |
| pushDefault | back to summary |
|---|---|
| private final PushConfig. | |
| recurseSubmodules | back to summary |
|---|---|
| private final PushConfig. | |
| PushConfig | back to summary |
|---|---|
| public PushConfig(Config config) Creates a new instance.
| |
| getPushDefault | back to summary |
|---|---|
| public PushConfig. Retrieves the value of git config
| |
| getRecurseSubmodules | back to summary |
|---|---|
| public PushConfig. Retrieves the value of git config
| |
push.default.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| public static final PushConfig. | CURRENT
Push the current branch to an upstream branch of the same name. |
| public static final PushConfig. | MATCHING
Push all current local branches that match a configured push refspec of the remote configuration. |
| public static final PushConfig. | NOTHING
Do not push if there are no explicit refspecs. |
| public static final PushConfig. | |
| public static final PushConfig. | UPSTREAM
Push the current branch to an upstream branch determined by git
config |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | matchConfigValue(String
the string to match in)Implements org. Checks if the given string matches with enum value. |
| public String | toConfigValue()
Implements org. Converts enumeration value into a string to be save in config. |
| public static PushConfig. | |
| public static PushConfig. |
| alias | back to summary |
|---|---|
| private final String alias | |
| CURRENT | back to summary |
|---|---|
| public static final PushConfig. Push the current branch to an upstream branch of the same name. | |
| MATCHING | back to summary |
|---|---|
| public static final PushConfig. Push all current local branches that match a configured push refspec of the remote configuration. | |
| NOTHING | back to summary |
|---|---|
| public static final PushConfig. Do not push if there are no explicit refspecs. | |
| SIMPLE | back to summary |
|---|---|
| public static final PushConfig. Like | |
| UPSTREAM | back to summary |
|---|---|
| public static final PushConfig. Push the current branch to an upstream branch determined by git
config | |
| PushDefault | back to summary |
|---|---|
| private PushDefault() | |
| PushDefault | back to summary |
|---|---|
| private PushDefault(String alias) | |
| matchConfigValue | back to summary |
|---|---|
| public boolean matchConfigValue(String in) Implements org. Doc from org. Checks if the given string matches with enum value. | |
| toConfigValue | back to summary |
|---|---|
| public String toConfigValue() Implements org. Doc from org. Converts enumeration value into a string to be save in config. | |
| valueOf | back to summary |
|---|---|
| public static PushConfig. | |
| values | back to summary |
|---|---|
| public static PushConfig. | |
push.recurseSubmodules.
| Modifier and Type | Field and Description |
|---|---|
| public static final PushConfig. | CHECK
Verify that all submodule commits that changed in the revisions to be pushed are available on at least one remote of the submodule. |
| private final String | |
| public static final PushConfig. | NO
Default behavior of ignoring submodules when pushing is retained. |
| public static final PushConfig. | ON_DEMAND
All submodules that changed in the revisions to be pushed will be pushed. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | matchConfigValue(String
the string to match s)Implements org. Checks if the given string matches with enum value. |
| public String | toConfigValue()
Implements org. Converts enumeration value into a string to be save in config. |
| public static PushConfig. | |
| public static PushConfig. |
| CHECK | back to summary |
|---|---|
| public static final PushConfig. Verify that all submodule commits that changed in the revisions to be pushed are available on at least one remote of the submodule. | |
| configValue | back to summary |
|---|---|
| private final String configValue | |
| NO | back to summary |
|---|---|
| public static final PushConfig. Default behavior of ignoring submodules when pushing is retained. | |
| ON_DEMAND | back to summary |
|---|---|
| public static final PushConfig. All submodules that changed in the revisions to be pushed will be pushed. | |
| PushRecurseSubmodulesMode | back to summary |
|---|---|
| private PushRecurseSubmodulesMode(String configValue) | |
| matchConfigValue | back to summary |
|---|---|
| public boolean matchConfigValue(String s) Implements org. Doc from org. Checks if the given string matches with enum value. | |
| toConfigValue | back to summary |
|---|---|
| public String toConfigValue() Implements org. Doc from org. Converts enumeration value into a string to be save in config. | |
| valueOf | back to summary |
|---|---|
| public static PushConfig. | |
| values | back to summary |
|---|---|
| public static PushConfig. | |