Skip to content

Commit 7f907ed

Browse files
committed
Visual Studio
1 parent f642901 commit 7f907ed

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

en/book/10-git-in-other-environments/chapter10.asc

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,27 @@ A more comprehensive list is available on the Git wiki site, at https://git.wiki
8787

8888
Starting with Visual Studio 2013 Update 1, Visual Studio users have a Git client built directly into their IDE.
8989
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.
9191

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[].
93111

94112
=== Git in Eclipse
95113

en/book/images/vs-1.png

23.5 KB
Loading

en/book/images/vs-2.png

9.85 KB
Loading

0 commit comments

Comments
 (0)