{"id":20838420,"url":"https://github.com/reload/git-push-mirror-action","last_synced_at":"2025-07-10T12:08:22.824Z","repository":{"id":41002979,"uuid":"195768332","full_name":"reload/git-push-mirror-action","owner":"reload","description":"Push your checkout to a git mirror (git push --mirror)","archived":false,"fork":false,"pushed_at":"2025-02-24T15:20:27.000Z","size":66,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-12T09:44:23.918Z","etag":null,"topics":["actions","git-mirror","github-actions"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reload.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-08T08:23:03.000Z","updated_at":"2025-02-24T15:20:30.000Z","dependencies_parsed_at":"2024-06-10T05:22:37.647Z","dependency_job_id":"445df2e8-7aae-462c-91d4-8997ea6ae1cf","html_url":"https://github.com/reload/git-push-mirror-action","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/reload/git-push-mirror-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Fgit-push-mirror-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Fgit-push-mirror-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Fgit-push-mirror-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Fgit-push-mirror-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reload","download_url":"https://codeload.github.com/reload/git-push-mirror-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Fgit-push-mirror-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264578115,"owners_count":23631490,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","git-mirror","github-actions"],"created_at":"2024-11-18T01:10:13.122Z","updated_at":"2025-07-10T12:08:22.785Z","avatar_url":"https://github.com/reload.png","language":"Dockerfile","readme":"# Push your checkout to a git mirror (git push --mirror)\n\nThis action can be used to push your checkout to a git mirror.\n\nWe use it to mirror the master branch to a BitBucket repository.\n\n**Notice:** The action will do a `git push --mirror \u003cARGS\u003e`. This will\ndelete all remote branches not known to the local (that is the\ncheckout done by the action) checkout. So potentially dangerous if you\nmess up the checkout.\n\nThis is the workflow file we use:\n\n```yaml\non:\n  push:\n    branches:\n    - master\nname: Push to Bitbucket\njobs:\n  push_to_bitbucket:\n    name: Push to Bitbucket\n    if: \"!github.event.deleted\"\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2-beta\n      with:\n        fetch-depth: 0 # Zero indicates all history\n        ref: master\n    - name: Push to mirror\n      uses: reload/git-push-mirror-action@master\n      with:\n        args: https://${{ secrets.BITBUCKET_USER }}:${{ secrets.BITBUCKET_APP_PASSWORD }}@bitbucket.org/foo/bar.git\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freload%2Fgit-push-mirror-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freload%2Fgit-push-mirror-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freload%2Fgit-push-mirror-action/lists"}