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
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,7 +92,7 @@ Signing the CLA does not grant you rights to commit to the main repository, but
92
92
93
93
## Use GitHub, Git, and this repository
94
94
95
-
**Note:** Most of the information in this section can be found in [GitHub Help] articles. If you're familiar with Git and GitHub, skip to the [Contribute and edit content](#contribute-and-edit-content) section for the specifics of the code/content flow of this repository.
95
+
**Note:** Most of the information in this section can be found in [GitHub Help] articles. If you're familiar with Git and GitHub, skip to the [Contribute and edit content](#contribute-and-edit-content) section for the specifics of the code and content flow of this repository.
96
96
97
97
### To set up your fork of the repository
98
98
@@ -101,7 +101,7 @@ Signing the CLA does not grant you rights to commit to the main repository, but
101
101
1. Create your own fork of this repository. To do this, at the top of the page, choose the **Fork** button.
102
102
1. Copy your fork to your computer. To do this, open Git Bash. At the command prompt enter:
103
103
104
-
git clone https://github.com/<your user name>/office-scripts-docs-reference.git
Next, create a reference to the root repository by entering these commands:
107
107
@@ -122,7 +122,7 @@ To make the contribution process as seamless as possible, follow these steps.
122
122
1. Submit a pull request to the main repository.
123
123
1. Delete the branch.
124
124
125
-
**Important**: Limit each branch to a single concept/article to streamline the work flow and reduce the chance of merge conflicts. Content appropriate for a new branch includes:
125
+
**Important**: Limit each branch to a single concept or article to streamline the workflow and reduce the chance of merge conflicts. Content appropriate for a new branch includes:
126
126
127
127
* A new article.
128
128
* Spelling and grammar edits.
@@ -131,17 +131,17 @@ To make the contribution process as seamless as possible, follow these steps.
131
131
#### To create a new branch
132
132
133
133
1. Open Git Bash.
134
-
1. At the Git Bash command prompt, type `git pull upstream main:<new branch name>`. This creates a new branch locally that is copied from the latest OfficeDev main branch.
134
+
1. At the Git Bash command prompt, type `git pull upstream main:<new branch name>`. This creates a new branch locally that is copied from the latest `OfficeDev/office-scripts-docs-reference` main branch.
135
135
1. At the Git Bash command prompt, type `git push origin <new branch name>`. This alerts GitHub to the new branch. You should now see the new branch in your fork of the repository on GitHub.
136
136
1. At the Git Bash command prompt, type `git checkout <new branch name>` to switch to your new branch.
137
137
138
138
#### Add new content or edit existing content
139
139
140
-
You navigate to the repository on your computer by using File Explorer. The repository files are in `C:\Users\<yourusername>\office-scripts-docs-reference`.
140
+
You navigate to the repository on your computer by using File Explorer. The repository files are in `C:\Users\<your username>\office-scripts-docs-reference`.
141
141
142
142
To edit files, open them in an editor of your choice and modify them. To create a new file, use the editor of your choice and save the new file in the appropriate location in your local copy of the repository. While working, save your work frequently.
143
143
144
-
The files in `C:\Users\<yourusername>\office-scripts-docs-reference` are a working copy of the new branch that you created in your local repository. Changing anything in this folder doesn't affect the local repository until you commit a change. To commit a change to the local repository, type the following commands in GitBash.
144
+
The files in `C:\Users\<your username>\office-scripts-docs-reference` are a working copy of the new branch that you created in your local repository. Changing anything in this folder doesn't affect the local repository until you commit a change. To commit a change to the local repository, type the following commands in Git Bash.
145
145
146
146
git add .
147
147
git commit -v -a -m "<Describe the changes made in this commit>"
@@ -168,11 +168,11 @@ When you're finished with your work and are ready to have it merged into the mai
168
168
169
169
One of the site administrators will process your pull request. Your pull request will surface on the [OfficeDev/office-scripts-docs-reference](https://github.com/OfficeDev/office-scripts-docs-reference/pulls) site under **Pull requests**. When the pull request is accepted, the issue will be resolved.
170
170
171
-
#### Create a new branch after merge
171
+
#### Create a new branch after the merge
172
172
173
173
After a branch is successfully merged (that is, your pull request is accepted), don't continue working in that local branch. This can lead to merge conflicts if you submit another pull request. To do another update, create a new local branch from the successfully merged upstream branch, and then delete your initial local branch.
174
174
175
-
For example, if your local branch X was successfully merged into the OfficeDev/office-scripts-docs-reference main branch and you want to make additional updates to the content that was merged. Create a new local branch, X2, from the OfficeDev/office-scripts-docs-reference main branch. To do this, open GitBash and execute the following commands.
175
+
For example, if your local branch X was successfully merged into the OfficeDev/office-scripts-docs-reference main branch and you want to make additional updates to the content that was merged. Create a new local branch, X2, from the OfficeDev/office-scripts-docs-reference main branch. To do this, open Git Bash and execute the following commands.
176
176
177
177
cd office-scripts-docs-reference
178
178
git pull upstream main:X2
@@ -182,7 +182,7 @@ You now have local copies (in a new local branch) of the work that you submitted
182
182
183
183
git checkout X2
184
184
185
-
...and verifying the content. (The `checkout` command updates the files in `C:\Users\<yourusername>\office-scripts-docs-reference` to the current state of the X2 branch.) Once you check out the new branch, you can make updates to the content and commit them as usual. However, to avoid working in the merged branch (X) by mistake, it's best to delete it (see the following **Delete a branch** section).
185
+
...and verifying the content. (The `checkout` command updates the files in `C:\Users\<your username>\office-scripts-docs-reference` to the current state of the X2 branch.) Once you check out the new branch, you can make updates to the content and commit them as usual. However, to avoid working in the merged branch (X) by mistake, it's best to delete it (see the following **Delete a branch** section).
186
186
187
187
#### Delete a branch
188
188
@@ -192,7 +192,7 @@ Once your changes are successfully merged into the main repository, delete the b
192
192
193
193
1. In the Git Bash command prompt, type `git checkout main`. This ensures that you aren't in the branch to be deleted (which isn't allowed).
194
194
1. Next, at the command prompt, type `git branch -d <branch name>`. This deletes the branch on your computer only if it has been successfully merged to the upstream repository. (You can override this behavior with the `–D` flag, but first be sure you want to do this.)
195
-
1. Finally, type `git push origin :<branch name>` at the command prompt (a space before the colon and no space after it). This will delete the branch on your github fork.
195
+
1. Finally, type `git push origin :<branch name>` at the command prompt (a space before the colon and no space after it). This will delete the branch on your GitHub fork.
196
196
197
197
Congratulations, you have successfully contributed to the project!
198
198
@@ -206,7 +206,7 @@ Fill out the form at [Join GitHub](https://github.com/join) to open a free GitHu
206
206
207
207
You will automatically be sent a notice that you need to sign the Contributor's License Agreement (CLA) if your pull request requires one.
208
208
209
-
As a community member, **you must sign the Contribution License Agreement (CLA) before you can contribute large submissions to this project**. You only need complete and submit the documentation once. Carefully review the document. You may be required to have your employer sign the document.
209
+
As a community member, **you must sign the Contribution License Agreement (CLA) before you can contribute large submissions to this project**. You only need to complete and submit the documentation once. Carefully review the document. You may be required to have your employer sign the document.
* Returns a `WorkbookRangeAreas` object that represents the range containing all the dependent cells of a specified range in the same worksheet or across multiple worksheets.
1822
+
*/
1823
+
getDependents(): WorkbookRangeAreas;
1824
+
1825
+
/**
1826
+
* Returns a `WorkbookRangeAreas` object that represents the range containing all the direct dependent cells of a specified range in the same worksheet or across multiple worksheets.
1827
+
*/
1828
+
getDirectDependents(): WorkbookRangeAreas;
1829
+
1820
1830
/**
1821
1831
* Returns a `WorkbookRangeAreas` object that represents the range containing all the direct precedent cells of a specified range in the same worksheet or across multiple worksheets.
* Returns a `WorkbookRangeAreas` object that represents the range containing all the precedent cells of a specified range in the same worksheet or across multiple worksheets.
1901
+
*/
1902
+
getPrecedents(): WorkbookRangeAreas;
1903
+
1889
1904
/**
1890
1905
* Returns a range object that is the edge cell of the data region that corresponds to the provided direction. This matches the Ctrl+Arrow key behavior in the Excel on Windows UI.
1891
1906
* @param direction The direction from the active cell.
0 commit comments