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
+1-6Lines changed: 1 addition & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,11 +51,9 @@ $ git fetch upstream
51
51
$ git rebase upstream/main
52
52
```
53
53
54
-
55
54
Making changes
56
55
--------------
57
56
58
-
59
57
It is important that you create a new branch to make changes on and that you do not change the `main` branch (other than to rebase in changes from `upstream/main`). In this example I will assume you will be making your changes to a branch called `feature_x`. This `feature_x` branch will be created on your local repository and will be pushed to your forked repository on GitHub. Once this branch is on your fork you will create a Pull Request for the changes to be added to the ACS project.
60
58
61
59
It is best practice to create a new branch each time you want to contribute to the project and only track the changes for that pull request in this branch.
@@ -70,7 +68,6 @@ $ git commit -a -m "descriptive commit message for your changes"
70
68
71
69
> The `-b` specifies that you want to create a new branch called `feature_x`. You only specify `-b` the first time you checkout because you are creating a new branch. Once the `feature_x` branch exists, you can later switch to it with only `git checkout feature_x`.
72
70
73
-
74
71
Rebase `feature_x` to include updates from `upstream/main`
Now that the `feature_x` branch has been pushed to your GitHub repository, you can initiate the pull request.
106
+
Now that the `feature_x` branch has been pushed to your GitHub repository, you can initiate the pull request.
111
107
112
108
To initiate the pull request, do the following:
113
109
@@ -118,7 +114,6 @@ To initiate the pull request, do the following:
118
114
119
115
If you are requested to make modifications to your proposed changes, make the changes locally on your `feature_x` branch, re-push the `feature_x` branch to your fork. The existing pull request should automatically pick up the change and update accordingly.
0 commit comments