Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
d206ce2e
Commit
d206ce2e
authored
Oct 25, 2021
by
Amy Qualls
Committed by
Kati Paizee
Oct 25, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cross-link to VS Code extension information
parent
3dc7230e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
6 deletions
+30
-6
doc/topics/git/getting_started.md
doc/topics/git/getting_started.md
+6
-0
doc/user/project/merge_requests/reviews/index.md
doc/user/project/merge_requests/reviews/index.md
+4
-0
doc/user/project/repository/index.md
doc/user/project/repository/index.md
+15
-6
doc/user/snippets.md
doc/user/snippets.md
+5
-0
No files found.
doc/topics/git/getting_started.md
View file @
d206ce2e
...
...
@@ -21,6 +21,12 @@ comments: false
git clone <url>
```
NOTE:
You can also clone GitLab projects with the
[
GitLab Workflow VS Code extension
](
../../user/project/repository/vscode.md
)
.
To learn more, read about the extension's
[
`Git: Clone` command
](
https://marketplace.visualstudio.com/items?itemName=GitLab.gitlab-workflow#clone-gitlab-projects
)
.
## Central Repositories
-
To instantiate a central repository a
`--bare`
flag is required.
...
...
doc/user/project/merge_requests/reviews/index.md
View file @
d206ce2e
...
...
@@ -17,6 +17,10 @@ your merge request, and makes [code suggestions](suggestions.md) you can accept
from the user interface. When your work is reviewed, your team members can choose
to accept or reject it.
You can review merge requests from the GitLab interface. If you install the
[
GitLab Workflow VS Code extension
](
../../repository/vscode.md
)
, you can also
review merge requests in Visual Studio Code.
## Review a merge request
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/4213) in GitLab Premium 11.4.
...
...
doc/user/project/repository/index.md
View file @
d206ce2e
...
...
@@ -82,14 +82,19 @@ prompted to open XCode.
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/220957) in GitLab 13.10.
All projects can be cloned into Visual Studio Code. To do that:
All projects can be cloned into Visual Studio Code from the GitLab user interface, but you
can also install the
[
GitLab Workflow VS Code extension
](
vscode.md
)
to clone from
Visual Studio Code:
1.
From the GitLab UI, go to the project's overview page.
1.
Click
**Clone**
.
1.
Select
**Clone with Visual Studio Code**
under either HTTPS or SSH method.
1.
Select a folder to clone the project into.
-
From the GitLab interface:
1.
Go to the project's overview page.
1.
Select
**Clone**
.
1.
Under either the
**HTTPS**
or
**SSH**
method, select
**Clone with Visual Studio Code**
.
1.
Select a folder to clone the project into.
When VS Code has successfully cloned your project, it opens the folder.
After Visual Studio Code clones your project, it opens the folder.
-
From Visual Studio Code, with the
[
extension
](
vscode.md
)
installed, use the
extension's
[
`Git: Clone` command
](
https://marketplace.visualstudio.com/items?itemName=GitLab.gitlab-workflow#clone-gitlab-projects
)
.
## Download the code in a repository
...
...
@@ -243,6 +248,10 @@ When you [rename a user](../../profile/index.md#change-your-username),
-
The redirects are available as long as the original path is not claimed by
another group, user, or project.
## Related links
-
[
GitLab Workflow VS Code extension
](
vscode.md
)
## Troubleshooting
### Repository Languages: excessive CPU use
...
...
doc/user/snippets.md
View file @
d206ce2e
...
...
@@ -14,6 +14,9 @@ You can [comment on](#comment-on-snippets), [clone](#clone-snippets), and
[
syntax highlighting
](
#filenames
)
,
[
embedding
](
#embed-snippets
)
,
[
downloading
](
#download-snippets
)
,
and you can maintain your snippets with the
[
snippets API
](
../api/snippets.md
)
.
You can create and manage your snippets through the GitLab user interface, or by
using the
[
GitLab Workflow VS Code extension
](
project/repository/vscode.md
)
.
![
Example of snippet
](
img/snippet_intro_v13_11.png
)
GitLab provides two types of snippets:
...
...
@@ -39,6 +42,8 @@ You can create snippets in multiple ways, depending on whether you want to creat
-
*For all other pages,*
select the plus icon (
**{plus-square-o}**
)
in the top navigation bar, then select
**New snippet**
from the dropdown
menu.
-
If you installed the
[
GitLab Workflow VS Code extension
](
project/repository/vscode.md
)
,
use the
[
`Gitlab: Create snippet` command
](
https://marketplace.visualstudio.com/items?itemName=GitLab.gitlab-workflow#create-snippet
)
.
-
**To create a project snippet**
: Go to your project's page. Select the
plus icon (
**{plus-square-o}**
), and then select
**New snippet**
from the
**This project**
section of the dropdown menu.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment