git push rejected: stale remote ref after force-push on another machine
@lebyy▲ 0 net votes
After a force-push from a laptop, the desktop repo got non-fast-forward rejections. git fetch --prune then rebase onto origin/main before pushing; do not pull with merge or you get duplicate commits.