-
Notifications
You must be signed in to change notification settings - Fork 362
Translate A-git-in-other-environments visualstudio #80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
=== Git in Visual Studio | ||
|
||
(((Visual Studio))) | ||
Starting with Visual Studio 2013 Update 1, Visual Studio users have a Git client built directly into their IDE. | ||
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. | ||
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. | ||
从 Visual Studio 2013 Update 1 版本开始, Visual Studio 用户可以在他们的 IDE 直接使用内嵌的 Git 客户端。 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. “开始”的逗号后面的空格要删掉,根据翻译约定 。 |
||
Visual Studio 集成源代码版本控制这一特性已经有很长一段时间,但面向的是集中式、文件锁定方式的系统, Git 并不能很好的符合他们的工作流。 | ||
Visual Studio 2013 中已经支持 Git ,并独立于原有版本管理系统,其结果是让 Visual Studio 和 Git 能更好地相互适应。 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 这使得 Visual Studio 和 Git 能更好地相互适应。 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Visual Studio 2013 已经支持 Git,…… |
||
|
||
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. | ||
You'll see the "Connect" view, which looks a bit like this: | ||
想要找到这个特性,在 Visual Studio 中打开一个已经用 Git 管理的工程(或者直接在工程目录中 `git init` ),选择菜单 View > Team Explorer 。 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 此处的 Explorer 后的空格同理。 |
||
你将看到 "Connect" 视图,大概如下图所示: | ||
|
||
.Connecting to a Git repository from Team Explorer. | ||
image::images/vs-1.png[Connecting to a Git repository from Team Explorer.] | ||
.从 Team Explorer 中连接 Git 代码库。 | ||
image::images/vs-1.png[从 Team Explorer 中连接 Git 代码库。] | ||
|
||
Visual Studio remembers all of the projects you've opened that are Git-controlled, and they're available in the list at the bottom. | ||
If you don't see the one you want there, click the "Add" link and type in the path to the working directory. | ||
Double clicking on one of the local Git repositories leads you to the Home view, which looks like <<vs_home>>. | ||
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. | ||
Visual Studio 能够记住所有你打开过的用 Git 管理的工程,它们都在下方的列表中。 | ||
如果没看到你想要的工程,点击 "Add" 按钮,添加工程工作目录的路径。 | ||
双击其中一个本地的 Git 版本库会将你带入 "Home" 视图,大概如 <<vs_home>> 所示。 | ||
这是一个执行 Git 操作的操作中心;当你_正在编写_代码的时候,你可能主要关注 "Changes" 视图,当需要拉取同伴的改动时,你将使用 "Unsynced Commits" 和 "Branches" 视图。 | ||
|
||
[[vs_home]] | ||
.The "Home" view for a Git repository in Visual Studio. | ||
image::images/vs-2.png[The Home view for a Git repository in Visual Studio.] | ||
.Visual Studio 中的 Git 版本库的 "Home" 视图。 | ||
image::images/vs-2.png[Visual Studio 中的 Git 版本库的 "Home" 视图。] | ||
|
||
Visual Studio now has a powerful task-focused UI for Git. | ||
It includes a linear history view, a diff viewer, remote commands, and many other capabilities. | ||
For complete documentation of this feature (which doesn't fit here), go to http://msdn.microsoft.com/en-us/library/hh850437.aspx[]. | ||
Visual Studio 现在拥有一套强大的着眼于任务的 Git 操作界面。 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Visual Studio 现在拥有一套着眼于任务的强大 Git 操作界面。 |
||
它包括线性的历史视图、diff 视图、远程仓库操作命令、以及其它很多功能。 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
想要这个特性的详尽文档(放在这里并不合适)请参阅 http://msdn.microsoft.com/en-us/library/hh850437.aspx[] 。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
附录A文章的标题三位翻译的翻译的不太一样,最好能统一一下
#124 , #80 , #121 , #128 , #129