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/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/why-are-my-contributions-not-showing-up-on-my-profile.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ You can check the email address used for a commit by adding `.patch` to the end
Copy file name to clipboardExpand all lines: content/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ If you are a site administrator for {% data variables.location.product_location
70
70
> Generating public/private ALGORITHM key pair.
71
71
```
72
72
73
-
1.When you're prompted to "Enter a file in which to save the key", you can press **Enter** to accept the default file location. Please note that if you created SSH keys previously, ssh-keygen may ask you to rewrite another key, in which case we recommend creating a custom-named SSH key. To do so, type the default file location and replace id_ssh_keyname with your custom key name.
73
+
When you're prompted to "Enter a file in which to save the key", you can press **Enter** to accept the default file location. Please note that if you created SSH keys previously, ssh-keygen may ask you to rewrite another key, in which case we recommend creating a custom-named SSH key. To do so, type the default file location and replace id_ssh_keyname with your custom key name.
74
74
75
75
{% mac %}
76
76
@@ -128,7 +128,7 @@ Before adding a new SSH key to the ssh-agent to manage your keys, you should hav
128
128
129
129
- Open your `~/.ssh/config` file, then modify the file to contain the following lines. If your SSH key file has a different name or path than the example code, modify the filename or path to match your current setup.
@@ -143,7 +143,7 @@ Before adding a new SSH key to the ssh-agent to manage your keys, you should hav
143
143
144
144
- If you see a `Bad configuration option: usekeychain` error, add an additional line to the configuration's' `Host *.{% ifversion ghes or ghae %}HOSTNAME{% else %}github.com{% endif %}` section.
@@ -162,9 +162,9 @@ Before adding a new SSH key to the ssh-agent to manage your keys, you should hav
162
162
163
163
The `--apple-use-keychain` option is in Apple's standard version of `ssh-add`. In MacOS versions prior to Monterey (12.0), the `--apple-use-keychain` and `--apple-load-keychain` flags used the syntax `-K` and `-A`, respectively.
164
164
165
-
If you don't have Apple's standard version of `ssh-add` installed, you may receive an error. For more information, see "[Error: ssh-add: illegal option -- K](/articles/error-ssh-add-illegal-option-k)."
165
+
If you don't have Apple's standard version of `ssh-add` installed, you may receive an error. For more information, see "[Error: ssh-add: illegal option -- K](/articles/error-ssh-add-illegal-option-k)."
166
166
167
-
If you continue to be prompted for your passphrase, you may need to add the command to your `~/.zshrc` file (or your `~/.bashrc` file for bash).
167
+
If you continue to be prompted for your passphrase, you may need to add the command to your `~/.zshrc` file (or your `~/.bashrc` file for bash).
Copy file name to clipboardExpand all lines: content/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ To illustrate how `git filter-repo` works, we'll show you how to remove your fil
80
80
81
81
1. Install the latest release of the [git filter-repo](https://github.com/newren/git-filter-repo) tool. You can install `git-filter-repo` manually or by using a package manager. For example, to install the tool with HomeBrew, use the `brew install` command.
Copy file name to clipboardExpand all lines: content/billing/managing-billing-for-github-advanced-security/viewing-committer-information-for-github-advanced-security.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ Under "Calculate Additional Advanced Committers", you can calculate how many mor
37
37
1. In the left sidebar, click **Advanced Security Committers**.
38
38
1. Under "Organizations and Repositories", enter or paste a list of organizations and repositories, with one organization or repository per line. For example:
Copy file name to clipboardExpand all lines: content/get-started/using-git/about-git-rebase.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ There are six commands available while rebasing:
70
70
71
71
No matter which command you use, Git will launch [your default text editor](/get-started/getting-started-with-git/associating-text-editors-with-git) and open a file that details the commits in the range you've chosen. That file looks something like this:
Copy file name to clipboardExpand all lines: content/get-started/using-git/using-git-rebase-on-the-command-line.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ In this example, we will cover all of the `git rebase` commands available, excep
20
20
21
21
We'll start our rebase by entering `git rebase --interactive HEAD~7` on the terminal. Our favorite text editor will display the following lines:
22
22
23
-
```
23
+
```text
24
24
pick 1fc6c95 Patch A
25
25
pick 6b2481b Patch B
26
26
pick dd1475d something I want to split
@@ -42,7 +42,7 @@ Phew! This sounds like a lot of work, but by taking it one step at a time, we ca
42
42
43
43
To start, we'll need to modify the commands in the file to look like this:
44
44
45
-
```
45
+
```text
46
46
pick 1fc6c95 Patch A
47
47
squash fa39187 something to add to patch A
48
48
pick 7b36971 something to move before patch B
@@ -58,7 +58,7 @@ Now, save and close the editor; this will start the interactive rebase.
58
58
59
59
Git skips the first rebase command, `pick 1fc6c95`, since it doesn't need to do anything. It goes to the next command, `squash fa39187`. Since this operation requires your input, Git opens your text editor once again. The file it opens up looks something like this:
60
60
61
-
```
61
+
```text
62
62
# This is a combination of two commits.
63
63
# The first commit's message is:
64
64
@@ -82,7 +82,7 @@ This file is Git's way of saying, "Hey, here's what I'm about to do with this `s
82
82
83
83
When the editor is closed, the rebase continues:
84
84
85
-
```
85
+
```text
86
86
pick 1fc6c95 Patch A
87
87
squash fa39187 something to add to patch A
88
88
pick 7b36971 something to move before patch B
@@ -110,7 +110,7 @@ At this point, you can edit any of the files in your project to make any additio
110
110
111
111
Git then gets to the `reword 4ca2acc` command. It opens up your text editor one more time, and presents the following information:
112
112
113
-
```
113
+
```text
114
114
i cant' typ goods
115
115
116
116
# Please enter the commit message for your changes. Lines starting
Copy file name to clipboardExpand all lines: content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -317,7 +317,7 @@ You can create a new paragraph by leaving a blank line between lines of text.
317
317
318
318
You can add footnotes to your content by using this bracket syntax:
Copy file name to clipboardExpand all lines: content/get-started/writing-on-github/working-with-advanced-formatting/writing-mathematical-expressions.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,17 +22,17 @@ There are two options for delimiting a math expression inline with your text. Yo
22
22
To include a math expression inline within your text, delimit the expression with dollar symbols `$`.
23
23
{% endif %}
24
24
25
-
```
25
+
```text
26
26
This sentence uses `$` delimiters to show math inline: $\sqrt{3x-1}+(1+x)^2$
27
27
```
28
28
29
29

30
30
31
31
{% ifversion math-backtick-syntax %}
32
32
33
-
````
33
+
```text
34
34
This sentence uses $\` and \`$ delimiters to show math inline: $`\sqrt{3x-1}+(1+x)^2`$
35
-
````
35
+
```
36
36
37
37

38
38
{% endif %}
@@ -41,7 +41,7 @@ This sentence uses $\` and \`$ delimiters to show math inline: $`\sqrt{3x-1}+(1
41
41
42
42
To add a math expression as a block, start a new line and delimit the expression with two dollar symbols `$$`.
Alternatively, you can use the <code>\`\`\`math</code> code block syntax to display a math expression as a block. With this syntax, you don't need to use `$$` delimiters. The following will render the same as above:
54
54
55
-
````
55
+
````text
56
56
**The Cauchy-Schwarz Inequality**
57
57
58
58
```math
@@ -65,18 +65,18 @@ Alternatively, you can use the <code>\`\`\`math</code> code block syntax to disp
65
65
## Writing dollar signs in line with and within mathematical expressions
66
66
67
67
To display a dollar sign as a character in the same line as a mathematical expression, you need to escape the non-delimiter `$` to ensure the line renders correctly.
68
-
68
+
69
69
- Within a math expression, add a `\` symbol before the explicit `$`.
70
70
71
-
```
71
+
```text
72
72
This expression uses `\$` to display a dollar sign: $\sqrt{\$4}$
73
73
```
74
74
75
75

76
76
77
77
- Outside a math expression, but on the same line, use span tags around the explicit `$`.
78
78
79
-
```
79
+
```text
80
80
To split <span>$</span>100 in half, we calculate $100/2$
0 commit comments