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
d5eb6b64
Commit
d5eb6b64
authored
Oct 25, 2021
by
Suzanne Selhorn
Committed by
Amy Qualls
Oct 25, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated nav steps slightly
parent
9064ff02
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
10 deletions
+11
-10
doc/user/project/file_lock.md
doc/user/project/file_lock.md
+11
-10
doc/user/project/img/file_lock.png
doc/user/project/img/file_lock.png
+0
-0
No files found.
doc/user/project/file_lock.md
View file @
d5eb6b64
...
@@ -212,20 +212,21 @@ requests that modify locked files. Unlock the file to allow changes.
...
@@ -212,20 +212,21 @@ requests that modify locked files. Unlock the file to allow changes.
To lock a file:
To lock a file:
1.
Open the file or directory in GitLab.
1.
Open the file or directory in GitLab.
1.
Click the
**Lock**
button, located near the Web IDE button.
1.
On the top right, above the file, select
**Lock**
.
1.
On the confirmation dialog box, select
**OK**
.
!
[
Locking file
](
img/file_lock.png
)
If you do not have permission to lock the file, the button is not enabled.
An
**Unlock**
button is displayed if the file is already locked, and
To view the user who locked the file (if it was not you), hover over the button.
is disabled if you do not have permission to unlock the file.
If you did not lock the file, hovering your cursor over the button shows
who locked the file.
### View and remove existing locks
### View and remove existing locks
The
**Locked Files**
, accessed from
**Project > Repository**
left menu, lists
To view and remove file locks:
all file and directory locks. Locks can be removed by their author, or any user
with the
[
Maintainer role
](
../permissions.md
)
and above.
1.
On the top bar, select
**Menu > Projects**
and find your project.
1.
On the left sidebar, select
**Repository > Locked Files**
.
This list shows all the files locked either through LFS or GitLab UI.
This list shows all the files locked either through LFS or GitLab UI.
Locks can be removed by their author, or any user
with at least the
[
Maintainer role
](
../permissions.md
)
.
doc/user/project/img/file_lock.png
deleted
100644 → 0
View file @
9064ff02
20 KB
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