How to update git-tf?

I love Git – it lets me work the way I want and where ever I may be. I love TFS – it has everything companies need for development projects. This is why I love Git-tf, it gives me git but with all the professional tooling from TFS serious development needs. However I have found that upgrading Git-tf isn’t obvious and in fact you may get it wrong without knowing!

I was doing it wrong

Since it is just a file copy deploy (i.e. drop files in a folder), I had assumed that you could just do a file replace of those files when a new version – however I noticed recently the version numbers after an “upgrade” didn’t match up.

image

Solution

The solution is to delete all the files in the folder FIRST – then you copy the files into that folder. Once you do that it just works!

image

It is odd to me, but it works and that is what matters.

Special thanks to Richard Banks for pointing out this solution to me Smile

Betty's picture

Or take the lazy way out and use a package manager like chocolatey - http://chocolatey.org/packages/Git-TF

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Syntax highlight code surrounded by the <pre class="brush: lang">...</pre> tags, where lang is one of the following language brushes: as3, applescript, bash, csharp, coldfusion, cpp, css, delphi, diff, erlang, groovy, jscript, java, javafx, perl, php, plain, powershell, python, ruby, sass, scala, sql, vb, xml.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.