-
Notifications
You must be signed in to change notification settings - Fork 0
GitCheckout
Damian edited this page Feb 16, 2020
·
1 revision
GitCheckout performs the git checkout <branch>
command line helpers for PowerShell.
During the checkout process the command will check the branch exists locally. If not, it will check remotes/origin
by default. In the future, you can optionally specify a different remote other than the default to check against.
GitCheckout "BranchName" ; Checkout branch, origin as default
GitCheckout "BranchName" "origin" ; Pulls current branch from specified remote
- Specify a remote other than
origin
Git Commands
DevOps Helpers