Skip to content

Commit 00cd2e5

Browse files
authored
Merge pull request #228 from justwriteclick/ag-issue-227
Update 00-github-for-docs-files.md to remove duplicate section
2 parents e9a38dc + 3714341 commit 00cd2e5

File tree

1 file changed

+2
-29
lines changed

1 file changed

+2
-29
lines changed

_learn/00-github-for-docs-files.md

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -233,40 +233,13 @@ _site
233233
.DS_Store
234234
```
235235

236-
For Hugo, you want to ignore these files and folders. The `static` folder could be named `public`, depending on your configuration
237-
```
238-
static
239-
.DS_Store
240-
```
241-
242-
## Ignoring operating system files or generated files
243-
244-
In GitHub repos, you can place a `.gitignore` file that contains the file extensions or folder names that you want to keep out of source control. When a file extension or folder is in the `.gitignore` file, even when you use the `git add .` command, those files and folders are not added to the commit.
245-
246-
This exclusion is useful so that you do not have a lot of difficult merges on output HTML files or operating system tracking files.
247-
248-
For Sphinx, you want to ignore these files and folders to avoid merge conflicts:
249-
250-
```
251-
build
252-
.DS_Store
253-
```
254-
255-
For Jekyll, you want to ignore these files and folders:
256-
257-
```
258-
_site
259-
.DS_Store
260-
```
261-
262236
For Hugo, you want to ignore these files and folders. The `static` folder could be named `public`, depending on your configuration.
263237
```
264238
static
265-
public # depends on configuration
239+
public # depends on the configuration
266240
.DS_Store
267241
```
268242

269243
## Additional resources
270-
[Learning Git and GitHub resources on help.github.com](https://help.github.com/articles/git-and-github-learning-resources/)
271-
[GitHub Guides](https://guides.github.com/)
244+
[Learning Git and GitHub resources on docs.github.com]([https://docs.github.com/en/get-started/quickstart/git-and-github-learning-resources](https://docs.github.com/en/get-started/quickstart/git-and-github-learning-resources))
272245
[Pro Git](https://git-scm.com/book/en/v2)

0 commit comments

Comments
 (0)