Skip to content

Commit 11df25c

Browse files
Update codeblocks from bash to sh for consistency
Use sh instead of bash in documentation code blocks for shell universality
1 parent 7cc83fb commit 11df25c

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ Click the **"Fork"** button on the top right of this page to create a copy of th
1111

1212
### 2. Clone Your Fork Locally
1313

14-
```bash
14+
```sh
1515
git clone https://github.com/YOUR-USERNAME/YOUR-FORK.git
1616
cd YOUR-FORK
1717
```
1818

1919
### 3. Add the Original Repo as a Remote
2020

21-
```bash
21+
```sh
2222
git remote add upstream https://github.com/OpenSourceFellows/map-dashboard.git
2323
```
2424

2525
### 4. Create a New Branch for Your Work
2626

2727
Never work directly on main or reuse old branches.
2828

29-
```bash
29+
```sh
3030
git checkout main
3131
git pull upstream main
3232
git checkout -b feature/your-feature-name
@@ -36,14 +36,14 @@ git checkout -b feature/your-feature-name
3636

3737
Make your changes locally, and commit them:
3838

39-
```bash
39+
```sh
4040
git add .
4141
git commit -m "Add: brief description of your change"
4242
```
4343

4444
### 6. Push the Branch to Your Fork
4545

46-
```bash
46+
```sh
4747
git push origin feature/your-feature-name
4848
```
4949

@@ -59,7 +59,7 @@ git push origin feature/your-feature-name
5959

6060
Before starting new work, always sync your fork:
6161

62-
```bash
62+
```sh
6363
git checkout main
6464
git fetch upstream
6565
git merge upstream/main

docs/MAINTAINER.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Based on existing branches in the repository:
1414
- `Issue-##` - Issue-specific work (e.g., `Issue-10`, `Issue-67`)
1515

1616
**Creating a branch:**
17-
```bash
17+
```sh
1818
git checkout main
1919
git pull origin main
2020
git checkout -b <type>/<descriptive-name>
@@ -24,13 +24,13 @@ git checkout -b <type>/<descriptive-name>
2424

2525
Push your branch:
2626

27-
```bash
27+
```sh
2828
git push -u origin <your-branch-name>
2929
```
3030

3131
Create PR using [GitHub CLI](https://cli.github.com/) (requires installation):
3232

33-
```bash
33+
```sh
3434
gh pr create --title "Your PR title" --fill
3535
```
3636

@@ -46,7 +46,7 @@ gh pr create --title "Your PR title" --fill
4646

4747
If you want to test it locally, use [GitHub CLI](https://cli.github.com/):
4848

49-
```bash
49+
```sh
5050
gh pr checkout <PR-number>
5151
```
5252

0 commit comments

Comments
 (0)