Skip to content

Commit 6b26fca

Browse files
Add syntax highlighting (firstcontributions#75866)
Co-authored-by: Roshan Jossy <roshanjossey@gmail.com>
1 parent b7a056d commit 6b26fca

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Now clone the forked repository to your machine. Go to your GitHub account, open
9898

9999
Open a terminal and run the following git command:
100100

101-
```
101+
```bash
102102
git clone "url you just copied"
103103
```
104104

@@ -108,7 +108,7 @@ where "url you just copied" (without the quotation marks) is the url to this rep
108108

109109
For example:
110110

111-
```
111+
```bash
112112
git clone git@github.com:this-is-you/first-contributions.git
113113
```
114114

@@ -118,19 +118,19 @@ where `this-is-you` is your GitHub username. Here you're copying the contents of
118118

119119
Change to the repository directory on your computer (if you are not already there):
120120

121-
```
121+
```bash
122122
cd first-contributions
123123
```
124124

125125
Now create a branch using the `git switch` command:
126126

127-
```
127+
```bash
128128
git switch -c your-new-branch-name
129129
```
130130

131131
For example:
132132

133-
```
133+
```bash
134134
git switch -c add-alonzo-church
135135
```
136136

@@ -144,13 +144,13 @@ If you go to the project directory and execute the command `git status`, you'll
144144

145145
Add those changes to the branch you just created using the `git add` command:
146146

147-
```
147+
```bash
148148
git add Contributors.md
149149
```
150150

151151
Now commit those changes using the `git commit` command:
152152

153-
```
153+
```bash
154154
git commit -m "Add your-name to Contributors list"
155155
```
156156

@@ -160,7 +160,7 @@ replacing `your-name` with your name.
160160

161161
Push your changes using the command `git push`:
162162

163-
```
163+
```bash
164164
git push -u origin your-branch-name
165165
```
166166

0 commit comments

Comments
 (0)