Skip to content
git pusher
Shell Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gpusher
.gitignore
README.md
cli.sh
enqueue.py
requirements.txt
start.sh

README.md

gpusher

Github asynchronous mirror helper

Setup

  1. git user on OS with git-shell
  2. SSH key for git user
  3. clone Github repository
git clone --mirror git@github.com:xxx/xxx.git
  1. install gpusher
git clone https://github.com/dawncold/gpusher.git
  1. add post-receive hook for xxx.git project
#!/bin/sh

echo "Mirror to GitHub"
/path/to/gpusher/cli.sh `pwd`

exec git update-server-info
  1. start gpusher worker
cd /path/to/gpusher
sudo -H -u git ./start.sh
You can’t perform that action at this time.