QOps-Push

Refreshes sources retrieved, commits all changes in the local repository and pushes them into the remote repository. The sources refreshing stage may be skipped by a -NoPrepare flag specified. -URL parameter is required when there is no origin in a Git repository specified.

Syntax

QOps-Push -Message -LocalBranch -RemoteBranch [-Filter] [-Ignore] [-URL] [-NoPrepare] [-Profile]

Parameters meaning:

-Message defines a commit message

-LocalBranch defines a Branch name of the Local Repository

-RemoteBranch defines a Branch name of the Remote Repository

-Filter overrides parameters for selecting applications to process with QOps, allows filtering by following:

  • Application Name
  • Application Id
  • Application Owner
  • Application Stream

The multiple masks are supported in a way of repeating the field identifier with a semicolon separator, ex.: -Filter "Name=*ibcs*;Name=*api*,Id=*,Owner=*,Stream=*"

The Semicolon defines result joining with OR logic, the Comma defines results joining with AND logic. When the field name is omitted all possible values for this field will be applied.

-Ignore overrides file mask(s) to ignore them while Git works with the repository, ex.: -Ignore "*.qvw; *.qvd; *.log"

-URL overrides origin URL of the Remote Git repository set in a .gitconfig file, if no URL for the Remote Git repository in a .gitconfig file after success login it will be set

-NoPrepare is a flag for a source refreshing skip stage. -Filter setting will be ignored as well

-Profile overrides default User Profile with the specified one

New in version 1.9

Examples

QOps-Push -Message "fixes" -LocalBranch "master" -RemoteBranch "master"


QOps-Push -Message "some feature" -LocalBranch "develop" -RemoteBranch "develop" -Filter "Name=*project1*;Name=*project2*,Owner = username1" -Ignore "*.txt; *.csv" -URL "[email protected]:git.user/remoterepo.git" -NoPrepare

Refreshes sources retrieved, commits all changes in the local repository and pushes them into the remote repository. The sources refreshing stage may be skipped by a -NoPrepare flag specified. -URL parameter is required when there is no origin in a Git repository specified.

Syntax

QOps-Push -Message -LocalBranch -RemoteBranch [-Filter] [-Reduce] [-Ignore] [-URL] [-NoPrepare] [-Profile]

Parameters meaning:

-Message defines a commit message

-LocalBranch defines a Branch name of the Local Repository

-RemoteBranch defines a Branch name of the Remote Repository

-Filter overrides parameters for selecting applications to process with QOps, allows filtering by following:

  • Application Name

The multiple masks are supported in a way of repeating the field identifier with a semicolon separator, ex.: -Filter "Name=*ibcs*;Name=*api*"

The Semicolon defines result joining with OR logic, the Comma defines results joining with AND logic. When the field name is omitted all possible values for this field will be applied.

-Reduce overrides the mask (masks) of Application's File Name to apply reduced binary application storing

-Ignore overrides file mask(s) to ignore them while Git works with the repository, ex.: -Ignore "*.qvw; *.qvd; *.log"

-URL overrides origin URL of the Remote Git repository set in a .gitconfig file, if no URL for the Remote Git repository in a .gitconfig file after success login it will be set

-NoPrepare is a flag for a source refreshing skip stage. -Filter and -Reduce settings will be ignored as well

-Profile overrides default User Profile with the specified one

New in version 1.9

Examples

QOps-Push -Message "fixes" -LocalBranch "master" -RemoteBranch "master"


QOps-Push -Message "small fix" -LocalBranch "master" -RemoteBranch "release" -Filter "Name=*application*" -Reduce "*dash*" -Ignore "*.qvw; *.qvd; *.txt; *.log" -URL "[email protected]:git.user/remoterepo.git"

This command is not available in QlikCloud mode