You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+37-37Lines changed: 37 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ If you would like to _implement_ a new feature, please consider the size of the
35
35
- For a **Major Feature**, first open an issue and outline your proposal so that it can be discussed.
36
36
This process allows us to better coordinate our efforts, prevent duplication of work, and help you to craft the change so that it is successfully accepted into the project.
37
37
38
-
**Note**: Adding a new topic to the documentation, or significantly re-writing a topic, counts as a major feature.
38
+
**Note**: Adding a new topic to the documentation, or significantly re-writing a topic, counts as a major feature.
39
39
40
40
-**Small Features** can be crafted and directly [submitted as a Pull Request](#submit-pr).
41
41
@@ -71,9 +71,9 @@ Before you submit your Pull Request (PR) consider the following guidelines:
71
71
72
72
4. In your forked repository, make your changes in a new git branch:
73
73
74
-
```shell
75
-
git checkout -b my-fix-branch main
76
-
```
74
+
```shell
75
+
git checkout -b my-fix-branch main
76
+
```
77
77
78
78
5. Create your patch, **including appropriate test cases**.
79
79
@@ -82,17 +82,17 @@ Before you submit your Pull Request (PR) consider the following guidelines:
82
82
7. Commit your changes using a descriptive commit message that follows our [commit message conventions](#commit).
83
83
Adherence to these conventions is necessary because release notes are automatically generated from these messages.
84
84
85
-
```shell
86
-
git commit --all
87
-
```
85
+
```shell
86
+
git commit --all
87
+
```
88
88
89
-
Note: the optional commit `--all` command line option will automatically "add" and "rm" edited files.
89
+
Note: the optional commit `--all`command line option will automatically "add" and "rm" edited files.
90
90
91
91
8. Push your branch to GitHub:
92
92
93
-
```shell
94
-
git push origin my-fix-branch
95
-
```
93
+
```shell
94
+
git push origin my-fix-branch
95
+
```
96
96
97
97
9. In GitHub, send a pull request to `angular-three:main`.
98
98
@@ -104,12 +104,12 @@ If we ask for changes via code reviews then:
104
104
105
105
2. Create a fixup commit and push to your GitHub repository (this will update your Pull Request):
106
106
107
-
```shell
108
-
git commit --all --fixup HEAD
109
-
git push
110
-
```
107
+
```shell
108
+
git commit --all --fixup HEAD
109
+
git push
110
+
```
111
111
112
-
For more info on working with fixup commits see [here](./contributing-docs/using-fixup-commits.md).
112
+
For more info on working with fixup commits see [here](./contributing-docs/using-fixup-commits.md).
113
113
114
114
That's it! Thank you for your contribution!
115
115
@@ -120,21 +120,21 @@ In order to update the commit message of the last commit on your branch:
120
120
121
121
1. Check out your branch:
122
122
123
-
```shell
124
-
git checkout my-fix-branch
125
-
```
123
+
```shell
124
+
git checkout my-fix-branch
125
+
```
126
126
127
127
2. Amend the last commit and modify the commit message:
128
128
129
-
```shell
130
-
git commit --amend
131
-
```
129
+
```shell
130
+
git commit --amend
131
+
```
132
132
133
133
3. Push to your GitHub repository:
134
134
135
-
```shell
136
-
git push --force-with-lease
137
-
```
135
+
```shell
136
+
git push --force-with-lease
137
+
```
138
138
139
139
> NOTE:<br />
140
140
> If you need to update the commit message of an earlier commit, you can use `git rebase` in interactive mode.
@@ -146,27 +146,27 @@ After your pull request is merged, you can safely delete your branch and pull th
146
146
147
147
- Delete the remote branch on GitHub either through the GitHub web UI or your local shell as follows:
148
148
149
-
```shell
150
-
git push origin --delete my-fix-branch
151
-
```
149
+
```shell
150
+
git push origin --delete my-fix-branch
151
+
```
152
152
153
153
- Check out the main branch:
154
154
155
-
```shell
156
-
git checkout main -f
157
-
```
155
+
```shell
156
+
git checkout main -f
157
+
```
158
158
159
159
- Delete the local branch:
160
160
161
-
```shell
162
-
git branch -D my-fix-branch
163
-
```
161
+
```shell
162
+
git branch -D my-fix-branch
163
+
```
164
164
165
165
- Update your local `main` with the latest upstream version:
0 commit comments