···92924. Select **Add Push Mirror** to save the configuration.
93939494The repository pushes shortly thereafter. To force a push, select the **Synchronize Now** button.
9595+9696+### Mirror an existing ssh repository
9797+9898+Currently gitea supports no ssh push mirrors. You can work around this by adding a `post-receive` hook to your gitea repository that pushes manually.
9999+100100+1. Make sure the user running gitea has access to the git repo you are trying to mirror to from shell.
101101+2. On the Webinterface at the repository settings > git hooks add a post-receive hook for the mirror. I.e.
102102+103103+```
104104+#!/usr/bin/env bash
105105+git push --mirror --quiet git@github.com:username/repository.git &>/dev/null &
106106+echo "GitHub mirror initiated .."
107107+```