Invoke-ReverseIntegration
SYNOPSIS
Syncs all changes made in the master branch of the git repo into the TFS partial branch and then merges them into the Volatile workspace. It DOES NOT perform a commit.
SYNTAX
Invoke-ReverseIntegration [[-message] <String>] [<CommonParameters>]
DESCRIPTION
This function performs the following operations:
- TF undo . /r from the Volatile workspace removing any pending changes (there should not be any since this is not where you work.)
- TF GET from the Volatile workspace
- TF undo . /r from the Partial Branch workspace removing any pending changes (there should not be any since this is not where you work.)
- TF GET from the Partial Branch workspace
- stashes any pending changes in git repo
- checks out master git branch
- git-tf checkin --shallow -m="$message"
- TF Merge /r <Partial Branch> <Volatile Server Branch>
PARAMETERS
Message
Commit Message used when checking in to TFS