.NET developers, utilize Git better using the command prompt

Published on September 14, 2014 in Git · Read time 8 minutes

I’ve been using Git in Visual Studio for quite some time now (since not long after it was released) and I’ve really grown to like it. I particularly like the speed and general ease of use. I find TFS/TFVC (weather that be a local instance or TFS online) to be slow and unreliable and it really has poor command line support (sorry guys!). It’s fair to say that I’ve been a little bit intimidated by Git and have rarely (OK never!) strayed away from the UI available through Visual Studio. Until now. Visual Studio barely scratches the surface when it comes to the wealth of additional functionality available via the command prompt. This post looks at some of the most commonly used commands (and how to use them). 10 Git commands for .NET developers The easiest way to get started is; Open Visual Studio (and ideally open/create a project) Open the Team Explorer Click Changes , and then from the Actions drop down click Open Command Prompt . As an additional win, you can also bring up extensive formal documentation about any Git command as follows; Terminology Comparison There are some slight differences in terminology between Git and TFVC, here are some of them; Git TFVC Git Add Adds a…