Book Image

Visual Studio 2015 Cookbook - Second Edition

By : Jeff Martin
Book Image

Visual Studio 2015 Cookbook - Second Edition

By: Jeff Martin

Overview of this book

Visual Studio 2015 is the premier tool for developers targeting the Microsoft platform. Learning how to effectively use this technology can enhance your productivity while simplifying your most common tasks, allowing you more time to focus on your project. Visual Studio 2015 is packed with improvements that increase productivity, and this book walks you through each one in succession to help you smooth your workflow and get more accomplished. From customization and the interface to code snippets and debugging, the Visual Studio upgrade expands your options — and this book is your fast-track guide to getting on board quickly. Visual Studio 2015 Cookbook will introduce you to all the new areas of Visual Studio and how they can quickly be put to use to improve your everyday development tasks. With this book, you will learn not only what VS2015 offers, but what it takes to put it to work for your projects.
Table of Contents (17 chapters)
Visual Studio 2015 Cookbook Second Edition
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Taking Advantage of Git's command line


Using Git directly through VS2015 is one of the most common ways for you to incorporate it into your daily workflow to easily accomplish your most frequent tasks. However, at its roots, Git is a command-line tool, and in some cases, it can be advantageous to access Git in this manner.

Throughout the previous recipe Using Git for source control, you may have noticed that VS2015 was prompting you to install the 3rd-party command-line tools. In this recipe, we are going to do just that so that all of Git's functionality is available to you when Git is used with your projects.

Getting ready

This recipe will pick up directly from the previous one, but feel free to substitute your own Git-based project should you have one available. This recipe will assume you are using Visual Studio Community 2015 Update 2, but the important thing is for you to be using a version of VS2015 with Update 2 or newer applied.

How to do it...

To use Git on the command line, take the...