You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: en/book/10-git-in-other-environments/chapter10.asc
+20-2Lines changed: 20 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,9 +87,27 @@ A more comprehensive list is available on the Git wiki site, at https://git.wiki
87
87
88
88
Starting with Visual Studio 2013 Update 1, Visual Studio users have a Git client built directly into their IDE.
89
89
Visual Studio has had source-control integration features for quite some time, but they were oriented towards centralized, file-locking systems, and Git was not a good match for this workflow.
90
-
Visual Studio 2013's Git support is a separate feature with its own command pane, but integrates with your day-to-day work just as well as the older feature.
90
+
Visual Studio 2013's Git support has been separated from this older feature, and the result is a much better fit between Studio and Git.
91
91
92
-
**TODO**
92
+
To locate the feature, open a project that's controlled by Git (or just `git init` an existing project), and select View > Team Explorer from the menu.
93
+
You'll see the "Connect" view, which looks a bit like <<vs_connect>>.
94
+
95
+
[[vs_connect]]
96
+
.Connecting to a Git repository from Team Explorer.
97
+
image::images/vs-1.png[Connecting to a Git repository from Team Explorer.]
98
+
99
+
Visual Studio remembers all of the projects you've opened that are Git-controlled, and they're available in the list at the bottom.
100
+
If you don't see the one you want there, click the "Add" link and type in the path to the working directory.
101
+
Double clicking on one of the local Git repositories leads you to the Home view, which looks like <<vs_home>>.
102
+
This is a hub for performing Git actions; when you're _writing_ code, you'll probably spend most of your time in the "Changes" view, but when it comes time to pull down changes made by your teammates, you'll use the "Unsynced Commits" and "Branches" views.
103
+
104
+
[[vs_home]]
105
+
.The "Home" view for a Git repository in Visual Studio.
106
+
image::images/vs-2.png[The "Home" view for a Git repository in Visual Studio.]
107
+
108
+
Visual Studio now has a powerful task-focused UI for Git.
109
+
It includes a linear history view, a diff viewer, remote commands, and many other capabilities.
110
+
For complete documentation of this feature (which doesn't fit here), go to http://msdn.microsoft.com/en-us/library/hh850437.aspx[].
0 commit comments