< Back

Add-TrackingBranch

Mon Jan 13, 2020 8:35 pm

NAME Add-TrackingBranch



SYNOPSIS

Creates a remote tracking branch in the current git repository.





SYNTAX

Add-TrackingBranch [-Branch] <String> [<CommonParameters>]





DESCRIPTION





PARAMETERS

-Branch <String>

Name of the remote branch to track. Will also be used as the name of the local tracking branch.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

You cannot pipe input to this function.





OUTPUTS

Nothing is output from this function.





NOTES





Author: John Meyer, AF4JM

Copyright (c) John Meyer. Licensed under the MIT License.

https://github.com/af4jm/GitHelper/blob/master/LICENSE





RELATED LINKS

https://www.powershellgallery.com/packages/GitHelper/

https://github.com/af4jm/GitHelper/