Author: Cem Keylan <firstname.lastname@example.org>
Date: Wed, 25 Sep 2019 11:05:16 +0300
markdown to plaintext
|A||README|| | ||29||+++++++++++++++++++++++++++++|
|D||README.md|| | ||24||------------------------|
2 files changed, 29 insertions(+), 24 deletions(-)
diff --git a/README b/README
@@ -0,0 +1,29 @@
+Git mirroring script
+Setting up a git mirror is hard, especially if you are trying to mirror your repository to Microsoft's Github. Microsoft does not want you to self-host, so they don't present you with any option for mirroring.
+These problems may be solved if you use something like a post-receive hook, but not all self-hosted git repositories use vanilla git. This script is intended for solutions that do not give you the access to post-receive hooks, like Gitlab or Gitea.
+This shell script:
+* Fetches your repositories to a temporary directory
+* Pushes them to the mirror repository
+The script creates a file on your home directory to save configuration and can be edited in ~/.mirrorgitrc
+* Git (obviously)
+* SSH keys deployed on the mirror repository
diff --git a/README.md b/README.md
@@ -1,24 +0,0 @@
-# Git Mirroring Script
-Setting up a git mirror is hard, especially if you are trying to mirror your repository to Microsoft's Github. Microsoft does not want you to self-host, so they don't present you with any options for mirroring.
-This little shell script:
-* Fetches the repositories to a temporary directory
-* Pushes them to the mirror repository
-It is pretty simple.
-The script creates a file on your home directory to save configuration
-The file can be located and be edited in ~/.mirrorgitrc
-* Git (obviously)
-* SSH keys deployed on the mirror repository