Georgy noticed he can't clone from new Cineleraa-gg git server. Even
switching to https not resulted in working copy. (it worked for me
after I switched from git to https)

I am not sure what can be done at server end, if cloudflare's whole
network blocked here on our end ..May be teach github to sync
automatically?

https://faun.pub/github-sync-31dede07c606

may be something from this article?

====

Step 4: The Actual Sync

The actual sync is easy enough — rebase and push to both remotes:

# .github/actions/sync-branches/action.yml
- name: Sync Branches
  shell: bash
  run: |
    for branch in ${{ inputs.branches }}; do
      echo "Syncing $branch..."

      # Start from local branch
      git checkout -B $branch origin/$branch

      # Rebase changes from mirror
      git pull mirror-ssh $branch --rebase

      # Push to both repos
      git push primary-ssh $branch
      git push mirror-ssh $branch

      echo "✓ $branch synced"
    done

[...]

Native Git Mirroring

git clone --mirror source.git
git push --mirror destination.git

==== end of quotation ===

Configuring side (ssh keys etc) look a bit intimidating for one line
script kiddie like me  :/
_______________________________________________
Cin mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to