Commit 58f7cfd8 authored by Amy Qualls's avatar Amy Qualls

Update start-using-git page re: VS Code

Fix an issue on the page. Add crosslinks to cloning, and info about
cloning directly into Visual Studio Code.
parent 44c6716c
...@@ -158,6 +158,7 @@ A **project** in GitLab is what holds a repository, which holds your files. ...@@ -158,6 +158,7 @@ A **project** in GitLab is what holds a repository, which holds your files.
Often, the word "repository" is shortened to "repo". Often, the word "repository" is shortened to "repo".
<!-- vale gitlab.Spelling = YES --> <!-- vale gitlab.Spelling = YES -->
<!-- vale gitlab.SubstitutionWarning = YES --> <!-- vale gitlab.SubstitutionWarning = YES -->
### Fork ### Fork
When you want to copy someone else's repository, you [**fork**](../user/project/repository/forking_workflow.md#creating-a-fork) When you want to copy someone else's repository, you [**fork**](../user/project/repository/forking_workflow.md#creating-a-fork)
...@@ -175,7 +176,7 @@ To create a copy of a remote repository's files on your computer, you can either ...@@ -175,7 +176,7 @@ To create a copy of a remote repository's files on your computer, you can either
**download** or **clone**. If you download, you cannot sync it with the **download** or **clone**. If you download, you cannot sync it with the
remote repository on GitLab. remote repository on GitLab.
Cloning a repository is the same as downloading, except it preserves the Git connection [Cloning](#clone-a-repository) a repository is the same as downloading, except it preserves the Git connection
with the remote repository. This allows you to modify the files locally and with the remote repository. This allows you to modify the files locally and
upload the changes to the remote repository on GitLab. upload the changes to the remote repository on GitLab.
...@@ -210,11 +211,13 @@ to GitLab, see how to [convert a local folder into a Git repository](#convert-a- ...@@ -210,11 +211,13 @@ to GitLab, see how to [convert a local folder into a Git repository](#convert-a-
### Clone a repository ### Clone a repository
To start working locally on an existing remote repository, clone it with the To start working locally on an existing remote repository, clone it with the
command `git clone <repository path>`. You can either clone it via [HTTPS](#clone-via-https) or [SSH](#clone-via-ssh), according to your preferred [authentication method](#git-authentication-methods). command `git clone <repository path>`. You can either clone it via [HTTPS](#clone-via-https)
or [SSH](#clone-via-ssh), according to your preferred [authentication method](#git-authentication-methods).
You can find both paths (HTTPS and SSH) by navigating to your project's landing page You can find both paths (HTTPS and SSH) by navigating to your project's landing page
and clicking **Clone**. GitLab prompts you with both paths, from which you can copy and clicking **Clone**. GitLab prompts you with both paths, from which you can copy
and paste in your command line. and paste in your command line. You can also
[clone and open directly in Visual Studio Code](../user/project/repository/index.md#clone-and-open-in-apple-xcode).
For example, considering our [sample project](https://gitlab.com/gitlab-tests/sample-project/): For example, considering our [sample project](https://gitlab.com/gitlab-tests/sample-project/):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment