Skip to content

Commit 09528da

Browse files
committed
fix(PR-#69): add changing git remote url to installation
1 parent f874681 commit 09528da

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

BLANK_README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,11 @@ This is an example of how to list things you need to use the software and how to
135135
```js
136136
const API_KEY = 'ENTER YOUR API';
137137
```
138+
5. Change git remote url to avoid accidental pushes to base project
139+
```sh
140+
git remote set-url origin github_username/repo_name
141+
git remote -v # confirm the changes
142+
```
138143

139144
<p style="text-align: right;">(<a href="#readme-top">back to top</a>)</p>
140145

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ _Below is an example of how you can instruct your audience on installing and set
138138
1. Get a free API Key at [https://example.com](https://example.com)
139139
2. Clone the repo
140140
```sh
141-
git clone https://github.com/your_username_/Project-Name.git
141+
git clone https://github.com/github_username/repo_name.git
142142
```
143143
3. Install NPM packages
144144
```sh
@@ -148,6 +148,11 @@ _Below is an example of how you can instruct your audience on installing and set
148148
```js
149149
const API_KEY = 'ENTER YOUR API';
150150
```
151+
5. Change git remote url to avoid accidental pushes to base project
152+
```sh
153+
git remote set-url origin github_username/repo_name
154+
git remote -v # confirm the changes
155+
```
151156

152157
<p style="text-align: right;">(<a href="#readme-top">back to top</a>)</p>
153158

0 commit comments

Comments
 (0)