Skip to content

Commit

Permalink
Update 06-ignore.md according to issue swcarpentry#891
Browse files Browse the repository at this point in the history
In issue swcarpentry#891 proposed to add some additional comments on the creation of the `.gitignore` file in order to clarify that learners need to add the ignore patterns to the files themselves.
  • Loading branch information
SvenMarcus authored Feb 8, 2023
1 parent bf6d169 commit 4043393
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion _episodes/06-ignore.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,17 @@ What's worse,
having them all listed could distract us from changes that actually matter,
so let's tell Git to ignore them.

We do this by creating a file in the root directory of our project called `.gitignore`:
We do this by creating a file in the root directory of our project called `.gitignore` and adding the text patterns we would like Git to ignore to it.

~~~
$ nano .gitignore
~~~
{: .language-bash}


After saving the `.gitignore` file, we should see the following output from `cat` command:

~~~
$ cat .gitignore
~~~
{: .language-bash}
Expand Down

0 comments on commit 4043393

Please sign in to comment.