3 posts tagged
Diverge two clones, fail git push with non-fast-forward, then fetch plus merge or git pull, and push. No rebase, no --force, no --web.
Create a private scratch repo, git push -u origin main, then match HEAD to git ls-remote and gh api. No fetch, pull, or --web.
Push SHA batches with git push SHA:refs/heads/main, prove ls-remote matches HEAD, and use Git LFS for large blobs. No 2 GB packs.