File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,16 @@ Check out the main [Harmonic documentation](https://github.com/es6rocks/harmonic
16
16
17
17
- Fork and clone the es6rocks.github.io repository
18
18
``` shell
19
- git clone
[email protected] :[USER]/es6rocks.github.io.git
19
+ # replace YOUR_USERNAME with your GitHub username below
20
+ git clone https://github.com/YOUR_USERNAME/es6rocks.github.io.git
21
+ cd es6rocks.github.io
22
+ git remote add upstream https://github.com/es6rocks/es6rocks.github.io.git
20
23
```
21
24
22
- - Checkout to the ` src ` branch
25
+ - Create a new branch using ` upstream/ src` as base and checkout to it
23
26
``` shell
24
- git checkout src
27
+ git fetch upstream
28
+ git checkout -b my-awesome-post upstream/src
25
29
```
26
30
27
31
- Create a new post
@@ -42,11 +46,11 @@ git add .
42
46
git commit -m " my awesome article"
43
47
```
44
48
45
- - push and open a pull-request for the ` src ` branch
49
+ - Push your new branch to your forked repository
46
50
``` shell
47
- git push origin src
51
+ git push origin HEAD
48
52
```
49
- Go to your forked repository's page on Github.com and create a pull- request.
53
+ Go to your forked repository's page on Github.com and create a pull request for the ` src ` branch .
50
54
51
55
## Issues
52
56
You can help ES6Rocks by finding a bug in the website, a typo in an article or even an incorrect sentence.
You can’t perform that action at this time.
0 commit comments