Quick Example of using Git with CodePlex for Clone, Changes, Commit, Sync & Restoring Missing NuGet Packages

This post is for those of us that are (primarily .NET developers) that have been accustomed to using Team Foundation Server as a source coded repository and now just getting started with Git. Git is a fairly mature and an advanced source code repository with many more features than I’ll actually get into. The intent of this screen cast is to get you started with Visual Studio 2013 Git integration. Although this screen cast uses CodePlex in the demo, the process should be the same for any another Git repository e.g. TFS 2012+, GitHub.com, CodePlex, Visual Studio Online TFS, etc.

*Please configure YouTube player in Full HD for optimal viewing

For more info on CodePlex: http://codeplex.codeplex.com/wikipage?title=Using%20Git%20with%20CodePlex

How to Delete a Work Item from Team Foundation Service

Couldn’t seem to find anything on how to delete a Work Item from Team Foundation Service, anyhow, here are the steps.

  1. Install the latest and greatest Microsoft Visual Studio Team Foundation Server 2012 Power Tools (http://visualstudiogallery.msdn.microsoft.com/b1ef7eb2-e084-4cb8-9bc7-06c3bad9148f).
  2. Open a Visual Studio command prompt

    7-7-2013 11-10-06 AM

  3. Use the witadmin destorywi command:

    witadmin destroywi /collection:https://yourprefix.visualstudio.com/DefaultCollection /id:yourWorkItemId

    Note: when you create a Team Foundation Service account, all your projects will simply reside under the default “DefaultCollection”, this applies to everyone and each account only has this as it’s one and only Project Collection, ever (team) project you create will be under the default “DefaultCollection”.

    7-7-2013 11-13-25 AM

  4. example: witadmin destroywi /collection:https://<yourprefix>.visualstudio.com//DefaultCollection /id:1523

    Note: You may get a Microsoft Live Account dialog window, if you aren’t already logged into your Team Foundation Service Portal. If so, simply login as you would normally do when logging into tfs.visualstudio.com.

    7-8-2013 6-03-23 PM

  5. Answer yes, and your work item, will now be deleted.

    7-7-2013 11-16-31 AM