Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
TPA
Wiki Replica
Commits
c4496b49
Verified
Commit
c4496b49
authored
3 years ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
spellcheck
parent
4623b8eb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
howto/gitlab.md
+6
-6
6 additions, 6 deletions
howto/gitlab.md
with
6 additions
and
6 deletions
howto/gitlab.md
+
6
−
6
View file @
c4496b49
...
...
@@ -442,7 +442,7 @@ the `GITLAB_PRIVATE_TOKEN` environment variable, which should have the
scope
`api`
.
So, for example, this will rename the
`master`
branch to
`main`
on the
local and remote repos:
local and remote repos
itories
:
GITLAB_PRIVATE_TOKEN=REDACTED git-branch-rename-remote
...
...
@@ -458,7 +458,7 @@ repository is already up to date, so there is no need for an access
token.
Other users, then can just run this command will rename
`master`
to
`main`
on the local repo, including remote tracking branches:
`main`
on the local repo
sitory
, including remote tracking branches:
git-branch-rename-remote
...
...
@@ -480,10 +480,10 @@ deleting the old branch.
### Updating gitolite
Many GitLab repositories are mirrored or maintained manually on
g
itolite (
`git-rw.torproject.org`
) and
[
Gitweb
](
https://gitweb.torproject.org
)
. The
`ssh`
step for
the above automation script will fail for
g
itolite and these steps
G
itolite (
`git-rw.torproject.org`
) and
[
Gitweb
](
https://gitweb.torproject.org
)
. The
`ssh`
step for
the above automation script will fail for
G
itolite and these steps
need to be done manually by a sysadmin.
[
Open a TPA ticket
](
https://gitlab.torproject.org/tpo/tpa/team/-/issues/new
)
with a
list of the
g
itolite repositories you would like to update and a
list of the
G
itolite repositories you would like to update and a
sysadmin will perform the following magic:
cd /srv/git.torproject.org/repositories/
...
...
@@ -492,7 +492,7 @@ sysadmin will perform the following magic:
done
This will update Gitolite, but it won't update Gitweb until the
repositories have been pushed to. To u
d
pate Gitweb immediately, ask
repositories have been pushed to. To up
d
ate Gitweb immediately, ask
your friendly sysadmin to run the above command on the Gitweb server
as well.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment