From d7c2a01d5858043ee1e2dcdd5ae324d3c2c72c18 Mon Sep 17 00:00:00 2001 From: Harsh <149176984+hrshya@users.noreply.github.com> Date: Tue, 24 Jun 2025 00:25:43 +0530 Subject: [PATCH] docs: add instructions to set up `upstream` remote (#1442) --- .github/CONTRIBUTING.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index c182e6254..60d29ad04 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -27,6 +27,14 @@ Thank you for your interest in contributing to 0.email! We're excited to have yo - Click the 'Fork' button at the top right of this repository - Clone your fork locally: `git clone https://github.com/YOUR-USERNAME/Zero.git` + - Next, add an `upstream` [remote](https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes) to sync this repository with your local fork. + + ```bash + # HTTPS + git remote add upstream https://github.com/Mail-0/Zero.git + # or SSH + git remote add upstream git@github.com:Mail-0/Zero.git + ``` 2. **Set Up Development Environment** - Install [pnpm](https://pnpm.io)