CONTRIBUTING.md (12562:aff103c513e7) CONTRIBUTING.md (12847:ed74e3cc9ce9)
1Authors: Jason Lowe-Power
2 Andreas Sandberg
3 Steve Reinhardt
4
5If you've made changes to gem5 that might benefit others, we strongly encourage
6you to contribute those changes to the public gem5 repository. There are
7several reasons to do this:
8 * Share your work with others, so that they can benefit from new functionality.

--- 230 unchanged lines hidden (view full) ---

239
240If you receive the above error, simply run this command and then amend your
241changeset.
242
243```
244 git commit --amend
245```
246
1Authors: Jason Lowe-Power
2 Andreas Sandberg
3 Steve Reinhardt
4
5If you've made changes to gem5 that might benefit others, we strongly encourage
6you to contribute those changes to the public gem5 repository. There are
7several reasons to do this:
8 * Share your work with others, so that they can benefit from new functionality.

--- 230 unchanged lines hidden (view full) ---

239
240If you receive the above error, simply run this command and then amend your
241changeset.
242
243```
244 git commit --amend
245```
246
247Push change to gerrit as a draft
248--------------------------------
247Push change to gerrit as a draft/private
248----------------------------------------
249
249
250See https://gerrit-review.googlesource.com/Documentation/intro-user.html#private-changes
251for details on private gerrit changes.
252
250```
253```
251 git push origin HEAD:refs/drafts/master
254 git push origin HEAD:refs/for/master%private
252```
253
255```
256
257Once you have pushed your change as "private", you can log onto [gerrit]
258(https://gem5-review.googlesource.com) and once you're happy with the commit
259click the "unmark private" which may be hidden in the "more options" dropdown
260in the upper right corner.
261
254Push change bypassing gerrit
255-----------------------------
256
257Only maintainers can bypass gerrit review. This should very rarely be used.
258
259```
260 git push origin HEAD:refs/heads/master
261```

--- 71 unchanged lines hidden ---
262Push change bypassing gerrit
263-----------------------------
264
265Only maintainers can bypass gerrit review. This should very rarely be used.
266
267```
268 git push origin HEAD:refs/heads/master
269```

--- 71 unchanged lines hidden ---