feat(git): adds new article
This commit is contained in:
parent
bf0abe3a2a
commit
03c9af1014
@ -12,6 +12,7 @@ _Inspired by [jbranchaud/til](https://github.com/jbranchaud/til)_
|
|||||||
### git
|
### git
|
||||||
|
|
||||||
- [clone to worktree](./git/clone-to-worktree.md)
|
- [clone to worktree](./git/clone-to-worktree.md)
|
||||||
|
- [push to multiple servers](./git/push-to-multiple-servers.md)
|
||||||
|
|
||||||
### neovim
|
### neovim
|
||||||
|
|
||||||
|
9
git/push-to-multiple-servers.md
Normal file
9
git/push-to-multiple-servers.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# 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/*
|
Loading…
Reference in New Issue
Block a user