Skip to content

Git Mirror Action2

Actions
Mirror a git repository
v0.2.0
Latest
Star (1)

actions git mirror

An action for git repository mirroring

Run Mirroring a repository commands in github action.

git clone --bare https://github.com/exampleuser/old-repository.git
cd old-repository
git push --mirror https://github.com/exampleuser/new-repository.git

Usage

- uses: zcong1993/actions-git-mirror@master
  with:
    dest-repo: https://gitee.com/owner/some-dest-repo.git
    dest-token: ${{ secrets.DEST_TOKEN }}
    repo-token: ${{ secrets.GITHUB_TOKEN }}

License

MIT © zcong1993

Git Mirror Action2 is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Mirror a git repository
v0.2.0
Latest

Git Mirror Action2 is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.