docs: Make the vagrant guide clone steps pasteable.

After the user clones Zulip they should first get inside the directory
before adding the remote upstream.

Tweaked by tabbott to make a bit simpler.
This commit is contained in:
Paurakh Sharma Humagain 2019-02-28 00:42:07 +05:45 committed by Tim Abbott
parent cefebd87a4
commit e9131b031b
1 changed files with 3 additions and 2 deletions

View File

@ -278,11 +278,12 @@ Now you are ready for [Step 2: Get Zulip Code.](#step-2-get-zulip-code)
2. Open Terminal (macOS/Ubuntu) or Git BASH (Windows; must
**run as an Administrator**).
3. In Terminal/Git BASH,
[clone your fork of the Zulip repository](../git/cloning.html#step-1b-clone-to-your-machine)
and [connect the Zulip upstream repository](../git/cloning.html#step-1c-connect-your-fork-to-zulip-upstream):
[clone your fork of the Zulip repository](../git/cloning.html#step-1b-clone-to-your-machine) and
[connect the Zulip upstream repository](../git/cloning.html#step-1c-connect-your-fork-to-zulip-upstream):
```
git clone --config pull.rebase git@github.com:YOURUSERNAME/zulip.git
cd zulip
git remote add -f upstream https://github.com/zulip/zulip.git
```