https://github.com/longsleep/git-bare-mirror
https://github.com/longsleep/git-bare-mirror
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/longsleep/git-bare-mirror
- Owner: longsleep
- Created: 2016-08-31T14:51:50.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-31T16:03:14.000Z (almost 10 years ago)
- Last Synced: 2025-02-03T14:46:43.596Z (over 1 year ago)
- Language: Shell
- Size: 1000 Bytes
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mirror testing
## Example
```
cd /path/to/bare/repository
su git -c "SSH_IDENTITY_FILE=/path/to/ssh/id_rsa GIT_SSH=/scripts/git-bare-mirror/git-ssh.sh git push --no-force --atomic git@github.com:longsleep/git-bare-mirror.git 'refs/heads/*' 'refs/tags/*'"
```