From 40433931d91b18e9c42dd862cb7c3220ef5776b7 Mon Sep 17 00:00:00 2001 From: Sven Marcus Date: Wed, 8 Feb 2023 11:27:40 +0100 Subject: [PATCH] Update 06-ignore.md according to issue #891 In issue #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. --- _episodes/06-ignore.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/_episodes/06-ignore.md b/_episodes/06-ignore.md index 14ced384f7..ba24316c05 100644 --- a/_episodes/06-ignore.md +++ b/_episodes/06-ignore.md @@ -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}