The TFS command line client, tf.exe, is a powerful tool that may be somewhat intimidating or elusive to learn if you primarily work through within Visual Studio. In fact, you can do many things in tf.exe that are not available through the Visual Studio source control interface. tf.exe has been around since the earliest days of Team Foundation Server 2005, yet many developers don’t even know it exists.
To help you become more familiar with it, I’ll be blogging a short series of katas – small exercises you can repeat over and over until you’ve mastered the interface. Today, I present the first kata – basic tf.exe commands.
In order to use these katas, you’ll need to first do the following:
My first kata introduces some of the most used commands in the command line client. In particular, all of these can work without any additional parameters other than the command name. I’ll address more complex commands in future posts.
That’s enough for now. Remember, katas are short and simple, easy to memorize and repeat daily. Work on these for a few days while I prepare the next post in the series. If you have questions about the command line interface to TFS, please post comments.