Page MenuHomePhabricator
Paste P8348

Force git to use ssh instead of https when you push to gerrit
ActivePublic

Authored by mmodell on Apr 4 2019, 8:40 PM.
Tags
None
Referenced Files
F28582587: raw.txt
Apr 4 2019, 8:46 PM
F28582548: raw.txt
Apr 4 2019, 8:40 PM
Subscribers
None
# Add the following to your ~/.gitconfig:
[url "ssh://your-username@gerrit.wikimedia.org:29418/"]
pushInsteadOf = https://gerrit.wikimedia.org/r/p/
pushInsteadOf = https://gerrit.wikimedia.org/r/

Event Timeline

mmodell changed the title of this paste from untitled to Masterwork From Distant Lands.
mmodell changed the title of this paste from Masterwork From Distant Lands to Force git to use ssh instead of https when you push to gerrit.Apr 4 2019, 8:46 PM
mmodell updated the paste's language from autodetect to ini.
mmodell edited the content of this paste. (Show Details)