Fix for blank lines around code fences (#38255)
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user