Skip to content

Commit 67cd3fe

Browse files
Apply style guide to some "YOUR_*" placeholders (#32286)
Co-authored-by: Alex Nguyen <150945400+nguyenalex836@users.noreply.github.com>
1 parent a8aaed3 commit 67cd3fe

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/remembering-your-github-username-or-email.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ During set up, you may have [set your username in Git](/get-started/getting-star
4646
```shell
4747
$ git config user.name
4848
# View the setting
49-
YOUR_USERNAME
49+
YOUR-USERNAME
5050
```
5151

5252
## Finding your username in the URL of remote repositories
@@ -60,11 +60,11 @@ If you have any local copies of personal repositories you have created or forked
6060
{% endtip %}
6161

6262
```shell
63-
$ cd YOUR_REPOSITORY
63+
$ cd YOUR-REPOSITORY
6464
# Change directories to the initialized Git repository
6565
$ 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.command_line.codeblock %}/YOUR-USERNAME/YOUR-REPOSITORY.git (fetch)
67+
origin https://{% data variables.command_line.codeblock %}/YOUR-USERNAME/YOUR-REPOSITORY.git (push)
6868
```
6969

7070
Your user name is what immediately follows the `https://{% data variables.command_line.backticks %}/`.

content/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ For example, to clone a repository on the command line you would enter the follo
166166

167167
```shell
168168
$ git clone https://{% data variables.command_line.codeblock %}/USERNAME/REPO.git
169-
Username: YOUR_USERNAME
170-
Password: YOUR_PERSONAL_ACCESS_TOKEN
169+
Username: YOUR-USERNAME
170+
Password: YOUR-PERSONAL-ACCESS-TOKEN
171171
```
172172

173173
{% data variables.product.pat_generic_caps %}s can only be used for HTTPS Git operations. If your repository uses an SSH remote URL, you will need to [switch the remote from SSH to HTTPS](/get-started/getting-started-with-git/managing-remote-repositories#switching-remote-urls-from-ssh-to-https).

content/communities/documenting-your-project-with-wikis/adding-or-editing-wiki-pages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Every wiki provides an easy way to clone its contents down to your computer.
5050
Once you've created an initial page on {% data variables.product.product_name %}, you can clone the repository to your computer with the provided URL:
5151

5252
```shell
53-
$ git clone https://github.com/YOUR_USERNAME/YOUR_REPOSITORY.wiki.git
53+
$ git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY.wiki.git
5454
# Clones the wiki locally
5555
```
5656

content/contributing/writing-for-github-docs/using-markdown-and-liquid-in-github-docs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ To render syntax highlighting in command line instructions and code samples, we
7979
### Example usage of code syntax highlighting
8080

8181
```bash
82-
git init YOUR_REPOSITORY
82+
git init YOUR-REPOSITORY
8383
```
8484

8585
Within the code sample syntax, use all uppercase text to indicate placeholder text or content that varies for each user, such as a user or repository name. By default, codeblocks will escape the content within the triple backticks. If you need to write sample code that parses the content (for example, to italicize text within `<em>` tags instead of passing the tags through literally), wrap the codeblock in `<pre>` tags.

content/pull-requests/collaborating-with-pull-requests/working-with-forks/configuring-a-remote-repository-for-a-fork.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ shortTitle: Configure a remote repository
2020

2121
```shell
2222
$ git remote -v
23-
> origin https://{% data variables.command_line.codeblock %}/YOUR_USERNAME/YOUR_FORK.git (fetch)
24-
> origin https://{% data variables.command_line.codeblock %}/YOUR_USERNAME/YOUR_FORK.git (push)
23+
> origin https://{% data variables.command_line.codeblock %}/YOUR-USERNAME/YOUR-FORK.git (fetch)
24+
> origin https://{% data variables.command_line.codeblock %}/YOUR-USERNAME/YOUR-FORK.git (push)
2525
```
2626

2727
1. Specify a new remote _upstream_ repository that will be synced with the fork.
@@ -34,8 +34,8 @@ shortTitle: Configure a remote repository
3434

3535
```shell
3636
$ git remote -v
37-
> origin https://{% data variables.command_line.codeblock %}/YOUR_USERNAME/YOUR_FORK.git (fetch)
38-
> origin https://{% data variables.command_line.codeblock %}/YOUR_USERNAME/YOUR_FORK.git (push)
37+
> origin https://{% data variables.command_line.codeblock %}/YOUR-USERNAME/YOUR-FORK.git (fetch)
38+
> origin https://{% data variables.command_line.codeblock %}/YOUR-USERNAME/YOUR-FORK.git (push)
3939
> upstream https://{% data variables.command_line.codeblock %}/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git (fetch)
4040
> upstream https://{% data variables.command_line.codeblock %}/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git (push)
4141
```

content/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,14 +159,14 @@ When you fork a project in order to propose changes to the upstream repository,
159159
1. Change directories to the location of the fork you cloned.
160160
- To go to your home directory, type just `cd` with no other text.
161161
- To list the files and folders in your current directory, type `ls`.
162-
- To go into one of your listed directories, type `cd your_listed_directory`.
162+
- To go into one of your listed directories, type `cd YOUR-LISTED-DIRECTORY`.
163163
- To go up one directory, type `cd ..`.
164164
1. Type `git remote -v` and press **Enter**. You will see the current configured remote repository for your fork.
165165

166166
```shell
167167
$ git remote -v
168-
> origin https://{% data variables.command_line.codeblock %}/YOUR_USERNAME/YOUR_FORK.git (fetch)
169-
> origin https://{% data variables.command_line.codeblock %}/YOUR_USERNAME/YOUR_FORK.git (push)
168+
> origin https://{% data variables.command_line.codeblock %}/YOUR-USERNAME/YOUR-FORK.git (fetch)
169+
> origin https://{% data variables.command_line.codeblock %}/YOUR-USERNAME/YOUR-FORK.git (push)
170170
```
171171

172172
1. Type `git remote add upstream`, and then paste the URL you copied in Step 3 and press **Enter**. It will look like this:
@@ -179,8 +179,8 @@ When you fork a project in order to propose changes to the upstream repository,
179179

180180
```shell
181181
$ git remote -v
182-
> origin https://{% data variables.command_line.codeblock %}/YOUR_USERNAME/YOUR_FORK.git (fetch)
183-
> origin https://{% data variables.command_line.codeblock %}/YOUR_USERNAME/YOUR_FORK.git (push)
182+
> origin https://{% data variables.command_line.codeblock %}/YOUR-USERNAME/YOUR-FORK.git (fetch)
183+
> origin https://{% data variables.command_line.codeblock %}/YOUR-USERNAME/YOUR-FORK.git (push)
184184
> upstream https://{% data variables.command_line.codeblock %}/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git (fetch)
185185
> upstream https://{% data variables.command_line.codeblock %}/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git (push)
186186
```

0 commit comments

Comments
 (0)