mirror of
https://github.com/Findus23/git-mirror.git
synced 2024-09-19 15:13:49 +02:00
9 lines
177 B
Markdown
9 lines
177 B
Markdown
|
# A simple way to mirror git repositories
|
||
|
|
||
|
```bash
|
||
|
cd repos
|
||
|
git clone --mirror https://source.example
|
||
|
cd repo.git
|
||
|
git remote add --mirror=push target https://target.example
|
||
|
```
|