Skip to content

Commit 09a83ec

Browse files
committed
Extend tip on how to troubleshoot line ending issues
The new text comes from swcarpentry/git-novice.
1 parent cd3e6fd commit 09a83ec

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

instructors/instructor-notes.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ To make a handout for this lesson, adapt/print from the [Reference page](https:/
6767
For example, a text editor might automatically add a newline to the last line of a file, causing an unexpected difference.
6868
Conflicts can also arise due to Windows using different line endings from other operating systems.
6969
Take a moment to explain these issues, since learners will almost certainly trip over them again.
70-
GitHub provides guidance on [how to configure Git to handle line endings](https://docs.github.com/en/get-started/git-basics/configuring-git-to-handle-line-endings).
70+
GitHub provides guidance on [how to configure Git to handle line endings](https://docs.github.com/en/get-started/git-basics/configuring-git-to-handle-line-endings);
71+
the [section on refreshing a repository](https://docs.github.com/en/github/using-git/configuring-git-to-handle-line-endings#refreshing-a-repository-after-changing-line-endings) may be helpful if learners need to change the `core.autocrlf` setting after already having made one or more commits.
7172

7273
- We don't use a Git GUI in this lesson because we haven't found one that
7374
installs easily and runs reliably on the three major operating systems, and

0 commit comments

Comments
 (0)