diff options
author | Andreas Fankhauser hiddenalpha.ch | 2023-10-21 13:43:04 +0200 |
---|---|---|
committer | Andreas Fankhauser hiddenalpha.ch | 2023-10-21 13:43:04 +0200 |
commit | f45403e67c9a32fada75219534574520de7c01ea (patch) | |
tree | 2fc32e61034da13c187c0bab748ac19c1d482051 | |
parent | cf9b11e3cb2ebc5878d80e247ba2376bc788367e (diff) | |
download | dotfiles-f45403e67c9a32fada75219534574520de7c01ea.zip dotfiles-f45403e67c9a32fada75219534574520de7c01ea.tar.gz |
(git) How to push/pull from multiple remotes.
-rw-r--r-- | src/git/_gitconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/git/_gitconfig b/src/git/_gitconfig index b2dcb56..83cf455 100644 --- a/src/git/_gitconfig +++ b/src/git/_gitconfig @@ -49,3 +49,12 @@ #[core] # pager = less -R -+X +# How to push to multiple remotes in one go: +# git push all --dry-run --all +# [remote "all"] +# pushurl = user@ONE.example.com:foo/bar.git +# pushurl = user@TWO.example.com:foo/bar.git + +# How to fetch from multiple remotes (but NOT all!) in one go: +# git fetch --multiple origin upstream + |