From 6f67649f0f84cb24a2ef3aad1dfafa043d67a246 Mon Sep 17 00:00:00 2001 From: Philippe Blain Date: Sat, 9 Apr 2022 14:49:33 -0400 Subject: [PATCH 1/5] git-and-github-learning-resources: mark "Git reference" as GitHub's The "Git reference" is created and maintained by GitHub, not by the Git community, so use "our" to refer to it. --- .../get-started/quickstart/git-and-github-learning-resources.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/get-started/quickstart/git-and-github-learning-resources.md b/content/get-started/quickstart/git-and-github-learning-resources.md index c7023667de42..d0b7e840e1fb 100644 --- a/content/get-started/quickstart/git-and-github-learning-resources.md +++ b/content/get-started/quickstart/git-and-github-learning-resources.md @@ -18,7 +18,7 @@ shortTitle: Learning resources --- ## Using Git -Familiarize yourself with Git by visiting the [official Git project site](https://git-scm.com) and reading the [ProGit book](http://git-scm.com/book). You can review the [Git command list](https://git-scm.com/docs) or [Git command lookup reference](http://gitref.org) while using the [Try Git](https://try.github.com) simulator. +Familiarize yourself with Git by visiting the [official Git project site](https://git-scm.com) and reading the [ProGit book](http://git-scm.com/book). You can review the [Git command list](https://git-scm.com/docs) or our [Git command lookup reference](http://gitref.org) while using the [Try Git](https://try.github.com) simulator. ## Using {% data variables.product.product_name %} From 2aad708dd79d53f2648c67c24f33593ee21db092 Mon Sep 17 00:00:00 2001 From: Philippe Blain Date: Sat, 9 Apr 2022 14:54:04 -0400 Subject: [PATCH 2/5] git-and-github-learning-resources: fix URL for Git reference The URL 'gitref.org' for the "Git Reference" does not work since August 2017 [1]. Fix the URL to point to the right place, and use an HTTPS URL. [1] https://github.com/git/git-reference/issues/112 --- .../get-started/quickstart/git-and-github-learning-resources.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/get-started/quickstart/git-and-github-learning-resources.md b/content/get-started/quickstart/git-and-github-learning-resources.md index d0b7e840e1fb..7962295c4928 100644 --- a/content/get-started/quickstart/git-and-github-learning-resources.md +++ b/content/get-started/quickstart/git-and-github-learning-resources.md @@ -18,7 +18,7 @@ shortTitle: Learning resources --- ## Using Git -Familiarize yourself with Git by visiting the [official Git project site](https://git-scm.com) and reading the [ProGit book](http://git-scm.com/book). You can review the [Git command list](https://git-scm.com/docs) or our [Git command lookup reference](http://gitref.org) while using the [Try Git](https://try.github.com) simulator. +Familiarize yourself with Git by visiting the [official Git project site](https://git-scm.com) and reading the [ProGit book](http://git-scm.com/book). You can review the [Git command list](https://git-scm.com/docs) or our [Git command lookup reference](https://git.github.io/git-reference/) while using the [Try Git](https://try.github.com) simulator. ## Using {% data variables.product.product_name %} From 8b2e278749947ec674fad4ca923e8551cfd80133 Mon Sep 17 00:00:00 2001 From: Philippe Blain Date: Sat, 9 Apr 2022 14:59:05 -0400 Subject: [PATCH 3/5] git-and-github-learning-resources: remove "Try Git" reference The interactive "Try Git" tutorial that used to be available at 'try.github.com' [1] is not available since 2018 [2]. Stop mentioning it. [1] https://github.blog/2012-07-04-try-git-in-your-browser/ [2] https://github.com/git/git-scm.com/issues/1239 --- .../get-started/quickstart/git-and-github-learning-resources.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/get-started/quickstart/git-and-github-learning-resources.md b/content/get-started/quickstart/git-and-github-learning-resources.md index 7962295c4928..f951041d2d84 100644 --- a/content/get-started/quickstart/git-and-github-learning-resources.md +++ b/content/get-started/quickstart/git-and-github-learning-resources.md @@ -18,7 +18,7 @@ shortTitle: Learning resources --- ## Using Git -Familiarize yourself with Git by visiting the [official Git project site](https://git-scm.com) and reading the [ProGit book](http://git-scm.com/book). You can review the [Git command list](https://git-scm.com/docs) or our [Git command lookup reference](https://git.github.io/git-reference/) while using the [Try Git](https://try.github.com) simulator. +Familiarize yourself with Git by visiting the [official Git project site](https://git-scm.com) and reading the [ProGit book](http://git-scm.com/book). You can also review the [Git command list](https://git-scm.com/docs) or our [Git command lookup reference](https://git.github.io/git-reference/). ## Using {% data variables.product.product_name %} From 551bf0a62fae1625c65f1eb76359fe292cb95006 Mon Sep 17 00:00:00 2001 From: Philippe Blain Date: Sat, 9 Apr 2022 16:04:08 -0400 Subject: [PATCH 4/5] .gitattributes: mark '*.md' as Markdown files Denote Markdown files as such with the 'diff' Git attribute [1]. This allows various Git commands (diff [2, 3], grep [4, 5], log [6], blame [7]) to show in which part of the "code" the changes are located in the hunk header. The history of the "Using Git" section modified in the previous commit specific entry can now be interrogated using git log -L:"Using Git":content/get-started/quickstart/git-and-github-learning-resources.md [1] https://git-scm.com/docs/gitattributes#_defining_a_custom_hunk_header [2] https://git-scm.com/docs/git-diff#_generating_patch_text_with_p [3] https://git-scm.com/docs/git-diff#Documentation/git-diff.txt--W [4] https://git-scm.com/docs/git-grep#Documentation/git-grep.txt--p [5] https://git-scm.com/docs/git-grep#Documentation/git-grep.txt--W [6] https://git-scm.com/docs/git-log#Documentation/git-log.txt--Lltfuncnamegtltfilegt [7] https://git-scm.com/docs/git-blame#Documentation/git-blame.txt--Lltfuncnamegt --- .gitattributes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index 34dcd7c141e9..94f95b93826d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2,5 +2,5 @@ * text=auto # Explicitly declare text files we want to always be normalized and converted # to native line endings on checkout. -*.md text +*.md text diff=markdown *.json.br filter=lfs diff=lfs merge=lfs -text From 851e5d1d85dcb2a4cc3e7ff923043054c73bc937 Mon Sep 17 00:00:00 2001 From: Felicity Chapman Date: Fri, 22 Apr 2022 20:18:10 +0100 Subject: [PATCH 5/5] Update content/get-started/quickstart/git-and-github-learning-resources.md --- .../get-started/quickstart/git-and-github-learning-resources.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/get-started/quickstart/git-and-github-learning-resources.md b/content/get-started/quickstart/git-and-github-learning-resources.md index f951041d2d84..46c2fb337238 100644 --- a/content/get-started/quickstart/git-and-github-learning-resources.md +++ b/content/get-started/quickstart/git-and-github-learning-resources.md @@ -18,7 +18,7 @@ shortTitle: Learning resources --- ## Using Git -Familiarize yourself with Git by visiting the [official Git project site](https://git-scm.com) and reading the [ProGit book](http://git-scm.com/book). You can also review the [Git command list](https://git-scm.com/docs) or our [Git command lookup reference](https://git.github.io/git-reference/). +Familiarize yourself with Git by visiting the [official Git project site](https://git-scm.com) and reading the [ProGit book](http://git-scm.com/book). You can also review the [Git command list](https://git-scm.com/docs). ## Using {% data variables.product.product_name %}