Skip to content

Commit 8fbbf9c

Browse files
authored
Merge pull request #1849 from petk/patch-urls
Update URLs
2 parents c10ec9a + 74a4d27 commit 8fbbf9c

File tree

14 files changed

+20
-20
lines changed

14 files changed

+20
-20
lines changed

book/01-introduction/sections/installing.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The most official build is available for download on the Git website.
5858
Just go to https://git-scm.com/download/win[^] and the download will start automatically.
5959
Note that this is a project called Git for Windows, which is separate from Git itself; for more information on it, go to https://gitforwindows.org[^].
6060

61-
To get an automated installation you can use the https://chocolatey.org/packages/git[Git Chocolatey package^].
61+
To get an automated installation you can use the https://community.chocolatey.org/packages/git[Git Chocolatey package^].
6262
Note that the Chocolatey package is community maintained.
6363

6464
==== Installing from Source

book/04-git-server/sections/generating-ssh-key.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ mZ+AW4OZPnTPI89ZPmVMLuayrD2cE86Z/il8b+gw3r3+1nKatmIkjn2so1d01QraTlMqVSsbx
5454
NrRFi9wrf+M7Q== [email protected]
5555
----
5656

57-
For a more in-depth tutorial on creating an SSH key on multiple operating systems, see the GitHub guide on SSH keys at https://docs.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent[^].
57+
For a more in-depth tutorial on creating an SSH key on multiple operating systems, see the GitHub guide on SSH keys at https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent[^].

book/04-git-server/sections/hosted.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ Doing so offers a number of advantages: a hosting site is generally quick to set
55
Even if you set up and run your own server internally, you may still want to use a public hosting site for your open source code -- it's generally easier for the open source community to find and help you with.
66

77
These days, you have a huge number of hosting options to choose from, each with different advantages and disadvantages.
8-
To see an up-to-date list, check out the GitHosting page on the main Git wiki at https://git.wiki.kernel.org/index.php/GitHosting[^].
8+
To see an up-to-date list, check out the GitHosting page on the main Git wiki at https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitHosting.html[^].
99

1010
We'll cover using GitHub in detail in <<ch06-github#ch06-github>>, as it is the largest Git host out there and you may need to interact with projects hosted on it in any case, but there are dozens more to choose from should you not want to set up your own Git server.

book/06-github/sections/5-scripting.asc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ image::images/scripting-04-webhook-debug.png[Web hook debugging information]
107107

108108
The other great feature of this is that you can redeliver any of the payloads to test your service easily.
109109

110-
For more information on how to write webhooks and all the different event types you can listen for, go to the GitHub Developer documentation at https://developer.github.com/webhooks/[^].
110+
For more information on how to write webhooks and all the different event types you can listen for, go to the GitHub Developer documentation at https://docs.github.com/en/webhooks-and-events/webhooks/about-webhooks[^].
111111

112112
==== The GitHub API
113113

@@ -299,4 +299,4 @@ At the time of this writing, the supported languages include Go, Objective-C, Ru
299299
Check out https://github.com/octokit[^] for more information on these, as they handle much of the HTTP for you.
300300

301301
Hopefully these tools can help you customize and modify GitHub to work better for your specific workflows.
302-
For complete documentation on the entire API as well as guides for common tasks, check out https://developer.github.com[^].
302+
For complete documentation on the entire API as well as guides for common tasks, check out https://docs.github.com/[^].

book/07-git-tools/sections/credentials.asc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ Git has a few options provided in the box:
1919
The downside of this approach is that your passwords are stored in cleartext in a plain file in your home directory.
2020
* If you're using a Mac, Git comes with an "`osxkeychain`" mode, which caches credentials in the secure keychain that's attached to your system account.
2121
This method stores the credentials on disk, and they never expire, but they're encrypted with the same system that stores HTTPS certificates and Safari auto-fills.
22-
* If you're using Windows, you can enable the *Git Credential Manager* feature when installing https://gitforwindows.org/[Git for Windows] or separately install https://github.com/GitCredentialManager/git-credential-manager/releases/latest[the latest GCM] as a standalone service.
22+
* If you're using Windows, you can enable the *Git Credential Manager* feature when installing https://gitforwindows.org/[Git for Windows] or separately install https://github.com/git-ecosystem/git-credential-manager/releases/latest[the latest GCM] as a standalone service.
2323
This is similar to the "`osxkeychain`" helper described above, but uses the Windows Credential Store to control sensitive information.
24-
It can also serve credentials to WSL1 or WSL2. See https://github.com/GitCredentialManager/git-credential-manager#readme[GCM Install Instructions] for more information.
24+
It can also serve credentials to WSL1 or WSL2. See https://github.com/git-ecosystem/git-credential-manager#readme[GCM Install Instructions] for more information.
2525

2626
You can choose one of these methods by setting a Git configuration value:
2727

book/08-customizing-git/sections/config.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ We'll demonstrate setting up the Perforce Visual Merge Tool (P4Merge) to do your
253253
If you want to try this out, P4Merge works on all major platforms, so you should be able to do so.
254254
We'll use path names in the examples that work on macOS and Linux systems; for Windows, you'll have to change `/usr/local/bin` to an executable path in your environment.
255255

256-
To begin, https://www.perforce.com/product/components/perforce-visual-merge-and-diff-tools[download P4Merge from Perforce^].
256+
To begin, https://www.perforce.com/products/helix-core-apps/merge-diff-tool-p4merge[download P4Merge from Perforce^].
257257
Next, you'll set up external wrapper scripts to run your commands.
258258
We'll use the macOS path for the executable; in other systems, it will be where your `p4merge` binary is installed.
259259
Set up a merge wrapper script named `extMerge` that calls your binary with all the arguments provided:

book/09-git-and-other-scms/sections/import-bzr.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ ImportError: No module named fastimport
5353
$ pip install fastimport
5454
----
5555

56-
If it is not available, you can download it at address https://pypi.python.org/pypi/fastimport/[^].
56+
If it is not available, you can download it at address https://pypi.org/project/fastimport/[^].
5757

5858
In the second case (on Windows), `bzr-fastimport` is automatically installed with the standalone version and the default installation (let all the checkboxes checked).
5959
So in this case you have nothing to do.

book/09-git-and-other-scms/sections/import-svn.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Then, redirect that output into your `users.txt` file so you can add the equival
3333
[NOTE]
3434
====
3535
If you're trying this on a Windows machine, this is the point where you'll run into trouble.
36-
Microsoft have provided some good advice and samples at https://docs.microsoft.com/en-us/azure/devops/repos/git/perform-migration-from-svn-to-git[^].
36+
Microsoft have provided some good advice and samples at https://learn.microsoft.com/en-us/azure/devops/repos/git/perform-migration-from-svn-to-git[^].
3737
====
3838

3939
You can provide this file to `git svn` to help it map the author data more accurately.

book/A-git-in-other-environments/sections/guis.asc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ While they're designed to highlight GitHub's service and recommended workflow, t
9696

9797
===== Installation
9898

99-
GitHub for Windows can be downloaded from https://windows.github.com[^], and GitHub for macOS from https://mac.github.com[^].
99+
GitHub for Windows and macOS can be downloaded from https://desktop.github.com/[^].
100100
When the applications are first run, they walk you through all the first-time Git setup, such as configuring your name and email address, and both set up sane defaults for many common configuration options, such as credential caches and CRLF behavior.
101101

102102
Both are "`evergreen`" – updates are downloaded and installed in the background while the applications are open.
@@ -149,4 +149,4 @@ However, if your workflow is different, or you want more control over how and wh
149149

150150
There are a number of other graphical Git clients, and they run the gamut from specialized, single-purpose tools all the way to apps that try to expose everything Git can do.
151151
The official Git website has a curated list of the most popular clients at https://git-scm.com/downloads/guis[^].
152-
A more comprehensive list is available on the Git wiki site, at https://git.wiki.kernel.org/index.php/Interfaces,_frontends,_and_tools#Graphical_Interfaces[^].
152+
A more comprehensive list is available on the Git wiki site, at https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/Interfaces,_frontends,_and_tools.html#Graphical_Interfaces[^].

book/A-git-in-other-environments/sections/powershell.asc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ With `RemoteSigned`, only scripts having the `ZoneIdentifier` set to `Internet`
2121
If you're an administrator and want to set it for all users on that machine, use `-Scope LocalMachine`.
2222
If you're a normal user, without administrative rights, you can use `-Scope CurrentUser` to set it only for you.
2323

24-
More about PowerShell Scopes: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_scopes[^].
24+
More about PowerShell Scopes: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_scopes[^].
2525

26-
More about PowerShell ExecutionPolicy: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy[^].
26+
More about PowerShell ExecutionPolicy: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy[^].
2727

2828
To set the value of `ExecutionPolicy` to `RemoteSigned` for all users use the next command:
2929

@@ -36,7 +36,7 @@ To set the value of `ExecutionPolicy` to `RemoteSigned` for all users use the ne
3636

3737
If you have at least PowerShell 5 or PowerShell 4 with PackageManagement installed, you can use the package manager to install posh-git for you.
3838

39-
More information about PowerShell Gallery: https://docs.microsoft.com/en-us/powershell/scripting/gallery/overview[^].
39+
More information about PowerShell Gallery: https://learn.microsoft.com/en-us/powershell/scripting/gallery/overview[^].
4040

4141
[source,powershell]
4242
----

0 commit comments

Comments
 (0)