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
12a552a9
Commit
12a552a9
authored
Nov 02, 2018
by
Ash McKenzie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix formatting for Using a Geo Server
parent
07fb734c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
doc/administration/geo/replication/using_a_geo_server.md
doc/administration/geo/replication/using_a_geo_server.md
+9
-10
No files found.
doc/administration/geo/replication/using_a_geo_server.md
View file @
12a552a9
...
...
@@ -5,19 +5,18 @@
After you set up the
[
database replication and configure the Geo nodes
][
req
]
,
there are a few things to consider:
1.
Users need an extra step to be able to fetch code from the secondary and push
to primary:
Users need an extra step to be able to fetch code from the secondary and push to primary:
1. Clone the repository as you would normally do, but from the secondary node:
1.
Clone the repository as you would normally do, but from the secondary node:
```bash
git clone git@secondary.gitlab.example.com:user/repo.git
```
```
bash
git clone git@secondary.gitlab.example.com:user/repo.git
```
1. Change the remote push URL to always push to primary, following this example:
1.
Change the remote push URL to always push to primary, following this example:
```bash
git remote set-url --push origin git@primary.gitlab.example.com:user/repo.git
```
```
bash
git remote set-url
--push
origin git@primary.gitlab.example.com:user/repo.git
```
[
req
]:
index.md#setup-instructions
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