Skip to content

Instantly share code, notes, and snippets.

@shonnly
Created September 29, 2016 21:00
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save shonnly/81a246cb607876730a2d8e77f2d99cca to your computer and use it in GitHub Desktop.
%BuildToolsPath%\GitLink.exe c:\git\myLocalGitProjectFolder -u "http://vm-hd87-ug84:8081/api/%var2%/%revision%" -b %branchname% -c debug -powershell -errorsaswarnings
- %BuildToolsPath% is the path to build tools on my build machine.
- %var2% is a placeholder that will be replaced by the file name when debugging. This is the only placeholder that should not be expanded by the build system. It is for the debugger's use only.
- %revision% is the git revision number that should be expanded by the build system to the current revision being built.
- %branchname% should also expand by the build system to the current branch name that is being built.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment