til/git/push-to-multiple-servers.md

335 B

Push to multiple servers

Add new pushurls to .git/config under the origin remote.

[remote "origin"]
    url = https://git.xsfx.dev/xsteadfastx/til.git
    pushurl = https://git.xsfx.dev/xsteadfastx/til.git
    pushurl = https://github.com/xsteadfastx/til.git
    fetch = +refs/heads/*:refs/remotes/origin/*