Skip to content

Latest commit

 

History

History
33 lines (18 loc) · 776 Bytes

File metadata and controls

33 lines (18 loc) · 776 Bytes

git new

Creates a new branch and checks it out from the specified branches

Usage:

git-new.ps1 [-branchName] <string> [-comment <string>] `
    [-upstreamBranches <string[]>] [-dryRun]

Parameters:

[-branchName] <string>

Specifies the name of the branch.

-comment <string> (Optional)

Aliases: -m, -message

Specifies a comment as part of the commit message for the upstream branch.

-upstreamBranches <string> (Optional)

Aliases: -u, -upstream, -upstreams

A comma-delimited list of branches (without the remote, if applicable). If not specified, assumes the default service line (see tool-config.)

-dryRun (Optional)

If specified, only test merging, do not push the updates.