You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/account-and-profile/managing-subscriptions-and-notifications-on-github/setting-up-notifications/configuring-notifications.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -130,7 +130,7 @@ Email notifications from {% data variables.product.prodname_dotcom %} contain he
130
130
|`From` address | This address will always be {% ifversion fpt or ghec %}'`notifications@github.com`'{% else %}'the no-reply email address configured by your site administrator'{% endif %}. |
131
131
|`To` field | This field connects directly to the thread. If you reply to the email, you'll add a new comment to the conversation. |
132
132
| `Cc` address | {% data variables.product.product_name %} will `Cc` you if you're subscribed to a conversation. The second `Cc` email address matches the notification reason. The suffix for these notification reasons is {% ifversion fpt or ghec %}`@noreply.github.com`{% else %}based on the no-reply email address configured by your site administrator{% endif %}. The possible notification reasons are: <ul><li>`assign`: You were assigned to an issue or pull request.</li><li>`author`: You created an issue or pull request.</li><li>`ci_activity`: A {% data variables.product.prodname_actions %} workflow run that you triggered was completed.</li><li>`comment`: You commented on an issue or pull request.</li><li>`manual`: There was an update to an issue or pull request you manually subscribed to.</li><li>`mention`: You were mentioned on an issue or pull request.</li><li>`push`: Someone committed to a pull request you're subscribed to.</li><li>`review_requested`: You or a team you're a member of was requested to review a pull request.</li><li>`security_alert`: {% data variables.product.prodname_dotcom %} detected a vulnerability in a repository you receive alerts for.</li><li>`state_change`: An issue or pull request you're subscribed to was either closed or opened.</li><li>`subscribed`: There was an update in a repository you're watching.</li><li>`team_mention`: A team you belong to was mentioned on an issue or pull request.</li><li>`your_activity`: You opened, commented on, or closed an issue or pull request.</li></ul> |
133
-
|`List-Id` field | This field identifies the name of the repository and its owner. The format of this address is always `OWNER/REPOSITORY <REPOSITORY.OWNER>`, e.g. `List-Id: grain-lang/grain <grain.grain-lang.{% data variables.command_line.backticks %}>`. |
133
+
|`List-Id` field | This field identifies the name of the repository and its owner. The format of this address is always `OWNER/REPOSITORY <REPOSITORY.OWNER>`, e.g. `List-Id: grain-lang/grain <grain.grain-lang.{% data variables.product.product_url %}>`. |
134
134
|`X-GitHub-Severity` field | {% data reusables.repositories.security-alerts-x-github-severity %} The possible severity levels are:<ul><li>`low`</li><li>`moderate`</li><li>`high`</li><li>`critical`</li></ul>For more information, see "[AUTOTITLE](/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." |
Copy file name to clipboardExpand all lines: content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/remembering-your-github-username-or-email.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -63,11 +63,11 @@ If you have any local copies of personal repositories you have created or forked
63
63
$ cd YOUR-REPOSITORY
64
64
# Change directories to the initialized Git repository
65
65
$ git remote -v
66
-
origin https://{% data variables.command_line.codeblock %}/YOUR-USERNAME/YOUR-REPOSITORY.git (fetch)
67
-
origin https://{% data variables.command_line.codeblock %}/YOUR-USERNAME/YOUR-REPOSITORY.git (push)
66
+
origin https://{% data variables.product.product_url %}/YOUR-USERNAME/YOUR-REPOSITORY.git (fetch)
67
+
origin https://{% data variables.product.product_url %}/YOUR-USERNAME/YOUR-REPOSITORY.git (push)
68
68
```
69
69
70
-
Your user name is what immediately follows the `https://{% data variables.command_line.backticks %}/`.
70
+
Your user name is what immediately follows the `https://{% data variables.product.product_url %}/`.
Copy file name to clipboardExpand all lines: content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/changing-your-github-username.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ If the new owner of your old username creates a repository with the same name as
76
76
77
77
## Links to your previous profile page
78
78
79
-
After changing your username, links to your previous profile page, such as `https://{% data variables.command_line.backticks %}/previoususername`, will return a 404 error. We recommend updating any links to your account on {% data variables.location.product_location %} from elsewhere{% ifversion fpt or ghec %}, such as your LinkedIn or Twitter profile{% endif %}.
79
+
After changing your username, links to your previous profile page, such as `https://{% data variables.product.product_url %}/previoususername`, will return a 404 error. We recommend updating any links to your account on {% data variables.location.product_location %} from elsewhere{% ifversion fpt or ghec %}, such as your LinkedIn or Twitter profile{% endif %}.
Copy file name to clipboardExpand all lines: content/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -166,7 +166,7 @@ Once you have a {% data variables.product.pat_generic %}, you can enter it inste
166
166
For example, to clone a repository on the command line you would enter the following `git clone` command. You would then be prompted to enter your username and password. When prompted for your password, enter your {% data variables.product.pat_generic %} instead of a password.
167
167
168
168
```shell
169
-
$ git clone https://{% data variables.command_line.codeblock %}/USERNAME/REPO.git
169
+
$ git clone https://{% data variables.product.product_url %}/USERNAME/REPO.git
Copy file name to clipboardExpand all lines: content/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -95,7 +95,7 @@ To illustrate how `git filter-repo` works, we'll show you how to remove your fil
95
95
1. If you don't already have a local copy of your repository with sensitive data in its history, [clone the repository](/repositories/creating-and-managing-repositories/cloning-a-repository) to your local computer.
96
96
97
97
```shell
98
-
$ git clone https://{% data variables.command_line.codeblock %}/YOUR-USERNAME/YOUR-REPOSITORY
98
+
$ git clone https://{% data variables.product.product_url %}/YOUR-USERNAME/YOUR-REPOSITORY
99
99
> Initialized empty Git repository in /Users/YOUR-FILE-PATH/YOUR-REPOSITORY/.git/
Often, the simplest solution is to simply avoid SSH entirely. Most firewalls and proxies allow HTTPS traffic without issue. To take advantage of this, change [the remote URL](/get-started/getting-started-with-git/about-remote-repositories) you're using:
31
31
32
32
```shell
33
-
$ git clone https://{% data variables.command_line.codeblock %}/USERNAME/REPO-NAME.git
33
+
$ git clone https://{% data variables.product.product_url %}/USERNAME/REPO-NAME.git
Copy file name to clipboardExpand all lines: content/authentication/troubleshooting-ssh/error-key-already-in-use.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ topics:
17
17
To determine where the key has already been used, open a terminal and type the `ssh` command. Use the `-i` flag to provide the path to the key you want to check:
18
18
19
19
```shell
20
-
$ ssh -T -ai ~/.ssh/id_rsa git@{% data variables.command_line.codeblock %}
20
+
$ ssh -T -ai ~/.ssh/id_rsa git@{% data variables.product.product_url %}
21
21
# Connect to {% data variables.location.product_location %} using a specific ssh key
22
22
> Hi USERNAME! You've successfully authenticated, but GitHub does not
23
23
> provide shell access.
@@ -28,7 +28,7 @@ The _username_ in the response is the account on {% data variables.location.prod
28
28
To force SSH to use only the key provided on the command line, use `-o` to add the `IdentitiesOnly=yes` option:
29
29
30
30
```shell
31
-
ssh -v -o "IdentitiesOnly=yes" -i ~/.ssh/id_rsa git@{% data variables.command_line.codeblock %}
31
+
ssh -v -o "IdentitiesOnly=yes" -i ~/.ssh/id_rsa git@{% data variables.product.product_url %}
Copy file name to clipboardExpand all lines: content/authentication/troubleshooting-ssh/error-permission-denied-publickey.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ If you have a _very good reason_ you must use `sudo`, then ensure you are using
25
25
To make sure you are connecting to the right domain, you can enter the following command:
26
26
27
27
```shell replacedomain copy
28
-
ssh -vT git@{% data variables.command_line.codeblock %}
28
+
ssh -vT git@{% data variables.product.product_url %}
29
29
```
30
30
31
31
You should see this output:
@@ -35,7 +35,7 @@ You should see this output:
35
35
> debug1: Reading configuration data /Users/YOU/.ssh/config
36
36
> debug1: Reading configuration data /etc/ssh/ssh_config
37
37
> debug1: /etc/ssh/ssh_config line 47: Applying options for*
38
-
> debug1: Connecting to {% data variables.command_line.codeblock %} port 22.
38
+
> debug1: Connecting to {% data variables.product.product_url %} port 22.
39
39
```
40
40
41
41
The connection should be made on port 22{% ifversion fpt or ghec %}, unless you're overriding settings to use [SSH over HTTPS](/authentication/troubleshooting-ssh/using-ssh-over-the-https-port){% endif %}.
@@ -45,7 +45,7 @@ The connection should be made on port 22{% ifversion fpt or ghec %}, unless you'
45
45
All connections, including those for remote URLs, must be made as the "git" user. If you try to connect with your {% data variables.product.product_name %} username, it will fail:
46
46
47
47
```shell replacedomain
48
-
$ ssh -T GITHUB-USERNAME@{% data variables.command_line.codeblock %}
48
+
$ ssh -T GITHUB-USERNAME@{% data variables.product.product_url %}
49
49
> Permission denied (publickey).
50
50
```
51
51
@@ -54,7 +54,7 @@ If your connection failed and you're using a remote URL with your {% data variab
54
54
You should verify your connection by typing:
55
55
56
56
```shell replacedomain copy
57
-
ssh -T git@{% data variables.command_line.codeblock %}
57
+
ssh -T git@{% data variables.product.product_url %}
58
58
```
59
59
60
60
You should see this output:
@@ -122,10 +122,10 @@ The `ssh-add` command _should_ print out a long string of numbers and letters. I
122
122
123
123
### Getting more details
124
124
125
-
You can also check that the key is being used by trying to connect to `git@{% data variables.command_line.backticks %}`:
125
+
You can also check that the key is being used by trying to connect to `git@{% data variables.product.product_url %}`:
126
126
127
127
```shell replacedomain copy
128
-
ssh -vT git@{% data variables.command_line.codeblock %}
128
+
ssh -vT git@{% data variables.product.product_url %}
**Note**: The hostname for port 443 is `ssh.{% data variables.command_line.backticks %}`, not `{% data variables.command_line.backticks %}`.
31
+
**Note**: The hostname for port 443 is `ssh.{% data variables.product.product_url %}`, not `{% data variables.product.product_url %}`.
32
32
33
33
{% endnote %}
34
34
@@ -37,26 +37,26 @@ If that worked, great! If not, you may need to [follow our troubleshooting guide
37
37
Now, to clone the repository, you can run the following command:
38
38
39
39
```shell
40
-
git clone ssh://git@ssh.{% data variables.command_line.codeblock %}:443/YOUR-USERNAME/YOUR-REPOSITORY.git
40
+
git clone ssh://git@ssh.{% data variables.product.product_url %}:443/YOUR-USERNAME/YOUR-REPOSITORY.git
41
41
```
42
42
43
43
## Enabling SSH connections over HTTPS
44
44
45
-
If you are able to SSH into `git@ssh.{% data variables.command_line.backticks %}` over port 443, you can override your SSH settings to force any connection to {% data variables.location.product_location %} to run through that server and port.
45
+
If you are able to SSH into `git@ssh.{% data variables.product.product_url %}` over port 443, you can override your SSH settings to force any connection to {% data variables.location.product_location %} to run through that server and port.
46
46
47
47
To set this in your SSH configuration file, edit the file at `~/.ssh/config`, and add this section:
48
48
49
49
```text
50
-
Host {% data variables.command_line.codeblock %}
51
-
Hostname ssh.{% data variables.command_line.codeblock %}
50
+
Host {% data variables.product.product_url %}
51
+
Hostname ssh.{% data variables.product.product_url %}
52
52
Port 443
53
53
User git
54
54
```
55
55
56
56
You can test that this works by connecting once more to {% data variables.location.product_location %}:
57
57
58
58
```shell
59
-
$ ssh -T git@{% data variables.command_line.codeblock %}
59
+
$ ssh -T git@{% data variables.product.product_url %}
60
60
> Hi USERNAME! You've successfully authenticated, but GitHub does not
Copy file name to clipboardExpand all lines: content/get-started/exploring-projects-on-github/contributing-to-a-project.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -62,13 +62,13 @@ You can clone your fork with the command line, {% data variables.product.prodnam
62
62
1. Type `git clone`, and then paste the URL you copied earlier. It will look like this, with your {% data variables.product.product_name %} username instead of `YOUR-USERNAME`:
63
63
64
64
```shell
65
-
git clone https://{% data variables.command_line.codeblock %}/YOUR-USERNAME/Spoon-Knife
65
+
git clone https://{% data variables.product.product_url %}/YOUR-USERNAME/Spoon-Knife
66
66
```
67
67
68
68
1. Press **Enter**. Your local clone will be created.
69
69
70
70
```shell
71
-
$ git clone https://{% data variables.command_line.codeblock %}/YOUR-USERNAME/Spoon-Knife
71
+
$ git clone https://{% data variables.product.product_url %}/YOUR-USERNAME/Spoon-Knife
0 commit comments