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-personal-account-on-github/managing-email-preferences/setting-your-commit-email-address.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ You can use the `git config` command to change the email address you associate w
76
76
{% data reusables.command_line.open_the_multi_os_terminal %}
77
77
2. {% data reusables.user-settings.set_your_email_address_in_git %}
78
78
```shell
79
-
$ git config --global user.email "YOUR_EMAIL"
79
+
git config --global user.email "YOUR_EMAIL"
80
80
```
81
81
3. {% data reusables.user-settings.confirm_git_email_address_correct %}
82
82
```shell
@@ -95,7 +95,7 @@ You can change the email address associated with commits you make in a single re
95
95
2. Change the current working directory to the local repository where you want to configure the email address that you associate with your Git commits.
96
96
3. {% data reusables.user-settings.set_your_email_address_in_git %}
97
97
```shell
98
-
$ git config user.email "YOUR_EMAIL"
98
+
git config user.email "YOUR_EMAIL"
99
99
```
100
100
4. {% data reusables.user-settings.confirm_git_email_address_correct %}
Copy file name to clipboardExpand all lines: content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/best-practices-for-leaving-your-company.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
@@ -39,5 +39,5 @@ If you've been collaborating professionally with another person on repositories
39
39
- Delete local copies of your forks that may exist on your computer:
Copy file name to clipboardExpand all lines: content/actions/creating-actions/creating-a-docker-container-action.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
@@ -134,7 +134,7 @@ Next, the script gets the current time and sets it as an output variable that ac
134
134
1. Optionally, to check the permission mode of the file in the git index, run the following command.
135
135
136
136
```shell copy
137
-
$ git ls-files --stage entrypoint.sh
137
+
git ls-files --stage entrypoint.sh
138
138
```
139
139
140
140
An output like `100755 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 0 entrypoint.sh` means the file has the executable permission. In this example, `755` denotes the executable permission.
Copy file name to clipboardExpand all lines: content/actions/hosting-your-own-runners/managing-self-hosted-runners/monitoring-and-troubleshooting-self-hosted-runners.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
@@ -129,7 +129,7 @@ actions.runner.octo-org-octo-repo.hostname.service loaded active running GitHub
129
129
You can use `journalctl` to monitor the real-time activity of the self-hosted runner:
Copy file name to clipboardExpand all lines: content/actions/migrating-to-github-actions/automated-migrations/automating-migration-with-github-actions-importer.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,15 +54,15 @@ You can use {% data variables.product.prodname_actions_importer %} to migrate fr
54
54
To ensure you're running the latest version of {% data variables.product.prodname_actions_importer %}, you should regularly run the `update` command:
55
55
56
56
```bash
57
-
$ gh actions-importer update
57
+
gh actions-importer update
58
58
```
59
59
60
60
### Authenticating at the command line
61
61
62
62
You must configure credentials that allow {% data variables.product.prodname_actions_importer %} to communicate with {% data variables.product.prodname_dotcom %} and your current CI server. You can configure these credentials using environment variables or a `.env.local` file. The environment variables can be configured in an interactive prompt, by running the following command:
63
63
64
64
```bash
65
-
$ gh actions-importer configure
65
+
gh actions-importer configure
66
66
```
67
67
68
68
## Using the {% data variables.product.prodname_actions_importer %} CLI
Copy file name to clipboardExpand all lines: content/admin/configuration/configuring-network-settings/configuring-built-in-firewall-rules.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,11 +68,11 @@ We do not recommend customizing UFW as it can complicate some troubleshooting is
68
68
1. Configure a custom firewall rule.
69
69
2. Check the status of each new rule with the `status numbered` command.
70
70
```shell
71
-
$ sudo ufw status numbered
71
+
sudo ufw status numbered
72
72
```
73
73
3. To back up your custom firewall rules, use the `cp`command to move the rules to a new file.
74
74
```shell
75
-
$ sudo cp -r /etc/ufw ~/ufw.backup
75
+
sudo cp -r /etc/ufw ~/ufw.backup
76
76
```
77
77
78
78
After you upgrade {% data variables.location.product_location %}, you must reapply your custom firewall rules. We recommend that you create a script to reapply your firewall custom rules.
@@ -90,11 +90,11 @@ If something goes wrong after you change the firewall rules, you can reset the r
90
90
{% data reusables.enterprise_installation.ssh-into-instance %}
91
91
2. To restore the previous backup rules, copy them back to the firewall with the `cp` command.
92
92
```shell
93
-
$ sudo cp -f ~/ufw.backup/*rules /etc/ufw
93
+
sudo cp -f ~/ufw.backup/*rules /etc/ufw
94
94
```
95
95
3. Restart the firewall with the `systemctl` command.
96
96
```shell
97
-
$ sudo systemctl restart ufw
97
+
sudo systemctl restart ufw
98
98
```
99
99
4. Confirm that the rules are back to their defaults with the `ufw status` command.
Copy file name to clipboardExpand all lines: content/admin/configuration/configuring-your-enterprise/command-line-utilities.md
+29-29Lines changed: 29 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,7 +117,7 @@ $ ghe-config -l
117
117
Allows you to find the universally unique identifier (UUID) of your node in `cluster.conf`.
118
118
119
119
```shell
120
-
$ ghe-config HOSTNAME.uuid
120
+
ghe-config HOSTNAME.uuid
121
121
```
122
122
123
123
Allows you to exempt a list of users from REST API rate limits. A hard limit of 120,000 requests will still apply to these users. Usernames you provide for this command are case-sensitive. For more information, see "[AUTOTITLE](/rest/overview/resources-in-the-rest-api#rate-limiting)."
@@ -278,7 +278,7 @@ ghe-org-admin-promote -a
278
278
Use this command to immediately unlock the {% data variables.enterprise.management_console %} after {% ifversion enterprise-authentication-rate-limits %}an account lockout. To configure authentication policies for {% data variables.location.product_location %}, see "[AUTOTITLE](/admin/configuration/configuring-your-enterprise/configuring-rate-limits#configuring-authentication-policy-rate-limits)".{% else %}10 failed login attempts in the span of 10 minutes.{% endif %}
279
279
280
280
```shell
281
-
$ ghe-reactivate-admin-login
281
+
ghe-reactivate-admin-login
282
282
```
283
283
284
284
### ghe-saml-mapping-csv
@@ -410,7 +410,7 @@ This utility allows you to configure the primary network interface.
410
410
To enter visual mode, which will guide you through configuration of network settings:
411
411
412
412
```shell
413
-
$ ghe-setup-network -v
413
+
ghe-setup-network -v
414
414
```
415
415
416
416
Use the -h flag for additional options.
@@ -420,7 +420,7 @@ Use the -h flag for additional options.
420
420
This utility checks the existing SSH host keys against the list of known leaked SSH host keys.
421
421
422
422
```shell
423
-
$ ghe-ssh-check-host-keys
423
+
ghe-ssh-check-host-keys
424
424
```
425
425
426
426
If a leaked host key is found the utility exits with status `1` and a message:
@@ -540,15 +540,15 @@ ghe-ssl-generate-csr
540
540
Some platforms require this script to expand the user volume. For more information, see "[AUTOTITLE](/admin/enterprise-management/updating-the-virtual-machine-and-physical-resources/increasing-storage-capacity)".
541
541
542
542
```shell
543
-
$ ghe-storage-extend
543
+
ghe-storage-extend
544
544
```
545
545
546
546
### ghe-version
547
547
548
548
This utility prints the version, platform, and build of {% data variables.location.product_location %}.
549
549
550
550
```shell
551
-
$ ghe-version
551
+
ghe-version
552
552
```
553
553
554
554
### ghe-webhook-logs
@@ -583,19 +583,19 @@ This utility allows you to enforce an even distribution of allocations across yo
583
583
To output a list of balanceable jobs and their associated allocation spread:
584
584
585
585
```shell
586
-
$ ghe-cluster-balance status
586
+
ghe-cluster-balance status
587
587
```
588
588
589
589
To output allocation counts for a given job or comma-delimited list of jobs:
590
590
591
591
```shell
592
-
$ ghe-cluster-balance -j JOB
592
+
ghe-cluster-balance -j JOB
593
593
```
594
594
595
595
To rebalance problematic allocations for a given job or comma-delimited list of jobs:
596
596
597
597
```shell
598
-
$ ghe-cluster-balance rebalance -j JOB
598
+
ghe-cluster-balance rebalance -j JOB
599
599
```
600
600
601
601
You can use the following flags with `ghe-cluster-balance rebalance`.
@@ -611,13 +611,13 @@ Flag | Description
611
611
To output completion scripts for the given shell:
612
612
613
613
```shell
614
-
$ ghe-cluster-balance completion
614
+
ghe-cluster-balance completion
615
615
```
616
616
617
617
To display a short description of the utility and any valid subcommands:
618
618
619
619
```shell
620
-
$ ghe-cluster-balance help
620
+
ghe-cluster-balance help
621
621
```
622
622
623
623
{% endif %}
@@ -627,7 +627,7 @@ $ ghe-cluster-balance help
627
627
Check the health of your nodes and services in a cluster deployment of {% data variables.product.prodname_ghe_server %}.
628
628
629
629
```shell
630
-
$ ghe-cluster-status
630
+
ghe-cluster-status
631
631
```
632
632
633
633
### ghe-cluster-support-bundle
@@ -640,38 +640,38 @@ By default, the command creates the tarball in _/tmp_, but you can also have it
0 commit comments