@@ -109,7 +109,7 @@ Before you submit your pull request consider the following guidelines:
109
109
* Make your changes in a new git branch:
110
110
111
111
``` shell
112
- git checkout -b my-fix-branch master
112
+ git checkout -b my-fix-branch main
113
113
```
114
114
115
115
* Create your patch, ** including appropriate test cases** .
@@ -133,14 +133,14 @@ Before you submit your pull request consider the following guidelines:
133
133
git push origin my-fix-branch
134
134
` ` `
135
135
136
- * In GitHub, send a pull request to ` firebase/quickstart-cpp:master ` .
136
+ * In GitHub, send a pull request to ` firebase/quickstart-cpp:main ` .
137
137
* If we suggest changes then:
138
138
* Make the required updates.
139
139
* Rebase your branch and force push to your GitHub repository (this will
140
140
update your Pull Request):
141
141
142
142
` ` ` shell
143
- git rebase master -i
143
+ git rebase main -i
144
144
git push origin my-fix-branch -f
145
145
` ` `
146
146
@@ -158,10 +158,10 @@ the changes from the main (upstream) repository:
158
158
git push origin --delete my-fix-branch
159
159
```
160
160
161
- * Check out the master branch:
161
+ * Check out the main branch:
162
162
163
163
```shell
164
- git checkout master -f
164
+ git checkout main -f
165
165
```
166
166
167
167
* Delete the local branch:
@@ -170,10 +170,10 @@ the changes from the main (upstream) repository:
170
170
git branch -D my-fix-branch
171
171
```
172
172
173
- * Update your master with the latest upstream version:
173
+ * Update your main with the latest upstream version:
174
174
175
175
```shell
176
- git pull --ff upstream master
176
+ git pull --ff upstream main
177
177
```
178
178
179
179
## <a name="rules"></a> Coding Rules
@@ -186,7 +186,7 @@ Please sign our [Contributor License Agreement][google-cla] (CLA) before sending
186
186
pull requests. For any code changes to be accepted, the CLA must be signed.
187
187
It' s a quick process, we promise!
188
188
189
- * This guide was inspired by the [AngularJS contribution guidelines](https://github.com/angular/angular.js/blob/master /CONTRIBUTING.md).*
189
+ * This guide was inspired by the [AngularJS contribution guidelines](https://github.com/angular/angular.js/blob/main /CONTRIBUTING.md).*
190
190
191
191
[github]: https://github.com/firebase/quickstart-cpp
192
192
[google-cla]: https://cla.developers.google.com
0 commit comments