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
4b4ee4c8
Commit
4b4ee4c8
authored
Jun 21, 2016
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documentation for File Lock feature
parent
ae02dbf8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
0 deletions
+38
-0
doc/workflow/README.md
doc/workflow/README.md
+1
-0
doc/workflow/file_lock.md
doc/workflow/file_lock.md
+37
-0
doc/workflow/file_lock/file_lock.png
doc/workflow/file_lock/file_lock.png
+0
-0
doc/workflow/file_lock/folder_lock.png
doc/workflow/file_lock/folder_lock.png
+0
-0
doc/workflow/file_lock/locked_files.png
doc/workflow/file_lock/locked_files.png
+0
-0
No files found.
doc/workflow/README.md
View file @
4b4ee4c8
...
...
@@ -8,6 +8,7 @@
-
[
Importing to GitLab
](
doc/importing/README.md
)
-
[
Keyboard shortcuts
](
shortcuts.md
)
-
[
File finder
](
file_finder.md
)
-
[
File lock
](
file_lock.md
)
-
[
Labels
](
labels.md
)
-
[
Issue weight
](
issue_weight.md
)
-
[
Manage large binaries with git annex
](
git_annex.md
)
...
...
doc/workflow/file_lock.md
0 → 100644
View file @
4b4ee4c8
# File Lock
>**Note:**
This feature was
[
introduced
][
ee-440
]
in GitLab 8.9.
---
GitLab enables us to lock any file or path in repository tree. If you have a lock
then you are the only one who can push changes to the repository where locked objects are changed.
Locks can be created by any person who has access to push the code; i.e., developer and higher level.
The user with master permissions level can remove any lock, no matter who is the author of the lock.
## Locking
To lock any file or folder open it in GitLab Code viewer and you will see appropriate link or button


---
## Viewing/Managing existing locks
To view or manage every existing lock go to the **Project > Code > Locked Files** section.

---
## License note
To activate this feature you have to have a license with the "File Lock" option enabled.
---
[
ee-440
]:
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/440
"File Lock"
doc/workflow/file_lock/file_lock.png
0 → 100644
View file @
4b4ee4c8
128 KB
doc/workflow/file_lock/folder_lock.png
0 → 100644
View file @
4b4ee4c8
144 KB
doc/workflow/file_lock/locked_files.png
0 → 100644
View file @
4b4ee4c8
110 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