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

10 lines
335 B
Markdown
Raw Permalink Normal View History

2022-08-23 15:53:30 +02:00
# Push to multiple servers
Add new `pushurl`s 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/*