1
0
mirror of synced 2025-12-22 19:34:15 -05:00

Fix for blank lines around code fences (#38255)

This commit is contained in:
Grace Park
2023-06-26 10:21:48 -07:00
committed by GitHub
parent a4913b5935
commit a8a6e4554a
272 changed files with 1552 additions and 2 deletions

View File

@@ -23,7 +23,9 @@ GitHub maintains an official list of recommended _.gitignore_ files for many pop
{% data reusables.command_line.open_the_multi_os_terminal %}
2. Navigate to the location of your Git repository.
3. Create a _.gitignore_ file for your repository.
```shell
touch .gitignore
```
@@ -43,7 +45,9 @@ git rm --cached FILENAME
You can also create a global _.gitignore_ file to define a list of rules for ignoring files in every Git repository on your computer. For example, you might create the file at _~/.gitignore_global_ and add some rules to it.
{% data reusables.command_line.open_the_multi_os_terminal %}
2. Configure Git to use the exclude file _~/.gitignore_global_ for all Git repositories.
```shell
git config --global core.excludesfile ~/.gitignore_global
```