Skip to content

Instantly share code, notes, and snippets.

@Novakov
Last active February 17, 2016 15:37
Show Gist options
  • Save Novakov/5487789 to your computer and use it in GitHub Desktop.
Save Novakov/5487789 to your computer and use it in GitHub Desktop.
TFS Powershell scripts
param([string]$repo, [string]$source,[string]$dest)
$base = "$/MAPS Onboard/Dev/$repo"
set-alias tf 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe'
tf get /recursive "$base/$source"
tf merge /recursive "$base/$source" "$base/$dest"
tf checkin /comment:"merge $source -> $dest"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment