Skip to content

Commit 3e639ca

Browse files
authored
Merge pull request github#26016 from github/repo-sync
repo sync
2 parents e4c8655 + 4387d51 commit 3e639ca

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

content/actions/hosting-your-own-runners/configuring-the-self-hosted-runner-application-as-a-service.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@ You can manage the runner service in the Windows **Services** application, or yo
7878
```
7979
{% endmac %}
8080

81+
The command takes an optional `user` argument to install the service as a different user.
82+
83+
```shell
84+
./svc.sh install --user <em>USERNAME</em>
85+
```
86+
8187
## Starting the service
8288

8389
Start the service with the following command:

content/repositories/creating-and-managing-repositories/duplicating-a-repository.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ Before you can push the original repository to your new copy, or _mirror_, of th
3535
```
3636
3. Mirror-push to the new repository.
3737
```shell
38-
$ cd <em>old-repository</em>
38+
$ cd <em>old-repository.git</em>
3939
$ git push --mirror https://{% data variables.command_line.codeblock %}/<em>exampleuser</em>/<em>new-repository</em>.git
4040
```
4141
4. Remove the temporary local repository you created earlier.
4242
```shell
4343
$ cd ..
44-
$ rm -rf <em>old-repository</em>
44+
$ rm -rf <em>old-repository.git</em>
4545
```
4646

4747
## Mirroring a repository that contains {% data variables.large_files.product_name_long %} objects
@@ -53,7 +53,7 @@ Before you can push the original repository to your new copy, or _mirror_, of th
5353
```
5454
3. Navigate to the repository you just cloned.
5555
```shell
56-
$ cd <em>old-repository</em>
56+
$ cd <em>old-repository.git</em>
5757
```
5858
4. Pull in the repository's {% data variables.large_files.product_name_long %} objects.
5959
```shell
@@ -70,7 +70,7 @@ Before you can push the original repository to your new copy, or _mirror_, of th
7070
7. Remove the temporary local repository you created earlier.
7171
```shell
7272
$ cd ..
73-
$ rm -rf <em>old-repository</em>
73+
$ rm -rf <em>old-repository.git</em>
7474
```
7575

7676
## Mirroring a repository in another location

0 commit comments

Comments
 (0)