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
31c3f752
Commit
31c3f752
authored
Aug 13, 2021
by
Alexander Strachan
Committed by
Evan Read
Aug 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve "Docs update to highlight push mirror rejection message"
parent
6f4f42b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
doc/administration/gitaly/troubleshooting.md
doc/administration/gitaly/troubleshooting.md
+22
-0
No files found.
doc/administration/gitaly/troubleshooting.md
View file @
31c3f752
...
...
@@ -223,6 +223,28 @@ on the Gitaly server matches the one on Gitaly client. If it doesn't match,
update the secrets file on the Gitaly server to match the Gitaly client, then
[
reconfigure
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
.
### Repository pushes fail with a `deny updating a hidden ref` error
Due to
[
a change
](
https://gitlab.com/gitlab-org/gitaly/-/merge_requests/3426
)
introduced in GitLab 13.12, Gitaly has read-only, internal GitLab references that users are not
permitted to update. If you attempt to update internal references with
`git push --mirror`
, Git
returns the rejection error,
`deny updating a hidden ref`
.
The following references are read-only:
-
refs/environments/
-
refs/keep-around/
-
refs/merge-requests/
-
refs/pipelines/
To mirror-push branches and tags only, and avoid attempting to mirror-push protected refs, run:
```
shell
git push origin +refs/heads/
*
:refs/heads/
*
+refs/tags/
*
:refs/tags/
*
```
Any other namespaces that the admin wants to push can be included there as well via additional patterns.
### Command line tools cannot connect to Gitaly
gRPC cannot reach your Gitaly server if:
...
...
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