3 ms·
Wait, what?! You can have 2 different urls for the same remote so a single push will push to both?
by aidos 7y ago
Wait, what?! You can have 2 different urls for the same remote so a single push will push to both?
- TimWolla 7y agoYes, exactly. Here's an example for a repository hosted on my server and in Keybase Git. Pulls / Fetches will use the repository on my server. Pushes go to both. [timwolla@/s/xxx (master)]g remote show origin * remote origin Fetch URL: git@git.example.com:xxx.git Push URL: git@git.example.com:xxx.git Push URL: keybase://private/timwolla/xxx HEAD branch: master Remote branch: master tracked Local branch configured for 'git pull': master merges with remote master Local ref configured for 'git push': master pushes to master (up to date)