mirror of https://github.com/zulip/zulip.git
docs: Fix setup-advanced git clone instructions.
This should help ensure everyone uses the SSH key approach for Git authentication; the HTTPS one is basically unusable as one has to provide one's GitHub password after every command.
This commit is contained in:
parent
1058c08623
commit
c192461c1b
|
@ -36,7 +36,7 @@ Start by [cloning your fork of the Zulip repository][zulip-rtd-git-cloning]
|
|||
and [connecting the Zulip upstream repository][zulip-rtd-git-connect]:
|
||||
|
||||
```
|
||||
git clone --config pull.rebase https://github.com/YOURUSERNAME/zulip.git
|
||||
git clone --config pull.rebase git@github.com:YOURUSERNAME/zulip.git
|
||||
cd zulip
|
||||
git remote add -f upstream https://github.com/zulip/zulip.git
|
||||
```
|
||||
|
@ -92,8 +92,8 @@ Store.
|
|||
and [connecting the Zulip upstream repository][zulip-rtd-git-connect]:
|
||||
|
||||
```
|
||||
git clone --config pull.rebase https://github.com/YOURUSERNAME/zulip.git ~/zulip
|
||||
cd ~/zulip
|
||||
git clone --config pull.rebase git@github.com:YOURUSERNAME/zulip.git ~/zulip
|
||||
cd zulip
|
||||
git remote add -f upstream https://github.com/zulip/zulip.git
|
||||
```
|
||||
|
||||
|
@ -170,7 +170,8 @@ Start by [cloning your fork of the Zulip repository][zulip-rtd-git-cloning]
|
|||
and [connecting the Zulip upstream repository][zulip-rtd-git-connect]:
|
||||
|
||||
```
|
||||
git clone --config pull.rebase https://github.com/YOURUSERNAME/zulip.git
|
||||
git clone --config pull.rebase git@github.com:YOURUSERNAME/zulip.git
|
||||
cd zulip
|
||||
git remote add -f upstream https://github.com/zulip/zulip.git
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue