Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add note about using --depth=1 for cloning issues #1771

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ Open source repo for app.100xdevs.com
```bash
git clone https://github.com/code100x/cms.git
```
> If the above command fails due to connection issues, try using the `--depth=1` flag to perform a shallow clone:
>
> ```bash
> git clone --depth=1 https://github.com/code100x/cms.git
> ```

2. Navigate to the project directory:

Expand Down Expand Up @@ -112,6 +117,11 @@ We welcome contributions from the community! There are many ways to contribute t
git clone https://github.com/<your username>/cms.git
cd cms
```
> If the above command fails, try using the `--depth=1` flag:
>
> ```bash
> git clone --depth=1 https://github.com/<your-username>/cms.git
> ```

3. Create a new branch

Expand Down