Skip to content

Commit b48ad39

Browse files
committed
Adjust list numbering format
1 parent 43ee90b commit b48ad39

File tree

6 files changed

+28
-28
lines changed

6 files changed

+28
-28
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,22 @@ Please note that this project is released with a [Contributor Code of Conduct][c
1515

1616
1. Open an [issue][issue] to discuss the change you want to see.
1717
This helps us coordinate and reduce duplication.
18-
2. Once we've had some discussion, you're ready to code!
18+
1. Once we've had some discussion, you're ready to code!
1919

2020
## Submitting a pull request
2121

2222
1. [Fork][fork] and clone the repository
23-
2. Configure and install the dependencies: `dotnet restore`
24-
3. Make sure the tests pass on your machine: `dotnet test`
25-
4. Create a new branch: `git switch -c my-branch-name`
26-
5. Make your change, add tests, and make sure the tests still pass
27-
6. For UI updates, test your changes by executing a `dotnet run` in applicable UI-related project directories:
23+
1. Configure and install the dependencies: `dotnet restore`
24+
1. Make sure the tests pass on your machine: `dotnet test`
25+
1. Create a new branch: `git switch -c my-branch-name`
26+
1. Make your change, add tests, and make sure the tests still pass
27+
1. For UI updates, test your changes by executing a `dotnet run` in applicable UI-related project directories:
2828
- `Atlassian.Bitbucket.UI.Avalonia`
2929
- `GitHub.UI.Avalonia`
3030
- `Atlassian.Bitbucket.UI.Windows`
3131
- `GitHub.UI.Windows`
32-
7. Push to your fork and [submit a pull request][pr]
33-
8. Pat your self on the back and wait for your pull request to be reviewed and merged.
32+
1. Push to your fork and [submit a pull request][pr]
33+
1. Pat your self on the back and wait for your pull request to be reviewed and merged.
3434

3535
Here are a few things you can do that will increase the likelihood of your pull request being accepted:
3636

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ run the following:
106106
If `curl` is not installed, please use your distribution's package manager
107107
to install it.
108108

109-
2. To download and run the script:
109+
1. To download and run the script:
110110

111111
```shell
112112
curl -LO https://raw.githubusercontent.com/GitCredentialManager/git-credential-manager/main/src/linux/Packaging.Linux/install-from-source.sh &&

docs/enterprise-config.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ Git Credential Manager (GCM) can be configured using multiple
44
different mechanisms. In order of preference, those mechanisms are:
55

66
1. [Environment variables](environment.md)
7-
2. [Standard Git configuration files](configuration.md)
7+
1. [Standard Git configuration files](configuration.md)
88
1. Repository/local configuration (`.git/config`)
9-
2. User/global configuration (`$HOME/.gitconfig` or `%HOME%\.gitconfig`)
10-
3. Installation/system configuration (`etc/gitconfig`)
11-
3. Enterprise system administrator defaults
12-
4. Compiled default values
9+
1. User/global configuration (`$HOME/.gitconfig` or `%HOME%\.gitconfig`)
10+
1. Installation/system configuration (`etc/gitconfig`)
11+
1. Enterprise system administrator defaults
12+
1. Compiled default values
1313

1414
This model largely matches what Git itself supports, namely environment
1515
variables that take precedence over Git configuration files.

docs/github-apideprecation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ There is a workaround which should work and doesn't require installing anything.
6767
1. Tell your system administrator they should start planning to upgrade the
6868
installed version of Git for Windows to at least 2.29! 😁
6969

70-
2. [Create a new personal access token](https://github.com/settings/tokens/new?scopes=repo,gist,workflow) (see official [documentation](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token))
70+
1. [Create a new personal access token](https://github.com/settings/tokens/new?scopes=repo,gist,workflow) (see official [documentation](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token))
7171

72-
3. Enter a name ("note") for the token and ensure the `repo`, `gist`, and
72+
1. Enter a name ("note") for the token and ensure the `repo`, `gist`, and
7373
`workflow` scopes are selected:
7474
![image](https://user-images.githubusercontent.com/5658207/95448332-1beb2000-095b-11eb-9a48-9c05b1926a6b.png)
7575
...
@@ -79,16 +79,16 @@ There is a workaround which should work and doesn't require installing anything.
7979
...
8080
![image](https://user-images.githubusercontent.com/5658207/95447343-7b483080-0959-11eb-8e00-151d53893f3f.png)
8181

82-
4. Click "Generate Token"
82+
1. Click "Generate Token"
8383

8484
![image](https://user-images.githubusercontent.com/5658207/95448393-31f8e080-095b-11eb-9568-cfd1c567a65c.png)
8585

86-
5. **[IMPORTANT]** Keep the resulting page open as this contains your new token
86+
1. **[IMPORTANT]** Keep the resulting page open as this contains your new token
8787
(this will only be displayed once!)
8888

8989
![image](https://user-images.githubusercontent.com/5658207/95448288-ff4ee800-095a-11eb-9709-8e37bde8b716.png)
9090

91-
6. Save the generated PAT in the Windows Credential Manager:
91+
1. Save the generated PAT in the Windows Credential Manager:
9292

9393
1. If you prefer to use the command-line, open a command prompt (cmd.exe) and
9494
type the following:

docs/gitlab.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ Git Credential Manager supports [gitlab.com](https://gitlab.com) out the box.
77
To use on another instance, eg. `https://gitlab.example.com` requires setup and configuration:
88

99
1. [Create an OAuth application](https://docs.gitlab.com/ee/integration/oauth_provider.html). This can be at the user, group or instance level. Specify a name and use a redirect URI of `http://127.0.0.1/`. _Unselect_ the 'Confidential' option, and ensure the 'Expire access tokens' option is selected. Set the scope to 'write_repository'.
10-
2. Copy the application ID and configure `git config --global credential.https://gitlab.example.com.GitLabDevClientId <APPLICATION_ID>`
11-
3. Copy the application secret and configure `git config --global credential.https://gitlab.example.com.GitLabDevClientSecret <APPLICATION_SECRET>`
12-
4. Configure authentication modes to include 'browser' `git config --global credential.https://gitlab.example.com.gitLabAuthModes browser`
13-
5. For good measure, configure `git config --global credential.https://gitlab.example.com.provider gitlab`. This may be necessary to recognise the domain as a GitLab instance.
14-
6. Verify the config is as expected `git config --global --get-urlmatch credential https://gitlab.example.com`
10+
1. Copy the application ID and configure `git config --global credential.https://gitlab.example.com.GitLabDevClientId <APPLICATION_ID>`
11+
1. Copy the application secret and configure `git config --global credential.https://gitlab.example.com.GitLabDevClientSecret <APPLICATION_SECRET>`
12+
1. Configure authentication modes to include 'browser' `git config --global credential.https://gitlab.example.com.gitLabAuthModes browser`
13+
1. For good measure, configure `git config --global credential.https://gitlab.example.com.provider gitlab`. This may be necessary to recognise the domain as a GitLab instance.
14+
1. Verify the config is as expected `git config --global --get-urlmatch credential https://gitlab.example.com`
1515

1616
### Clearing config
1717

@@ -42,5 +42,5 @@ git config --global credential.gitlabauthmodes browser
4242
Improved support requires changes in GitLab. Please vote for these issues if they affect you:
4343

4444
1. No support for OAuth device authorization (necessary for machines without web browser): [GitLab issue 332682](https://gitlab.com/gitlab-org/gitlab/-/issues/332682)
45-
2. Only domains with prefix `gitlab.` are recognised as GitLab remotes: [GitLab issue 349464](https://gitlab.com/gitlab-org/gitlab/-/issues/349464)
46-
3. Username/password authentication is suggested even if disabled on server: [GitLab issue 349463](https://gitlab.com/gitlab-org/gitlab/-/issues/349463)
45+
1. Only domains with prefix `gitlab.` are recognised as GitLab remotes: [GitLab issue 349464](https://gitlab.com/gitlab-org/gitlab/-/issues/349464)
46+
1. Username/password authentication is suggested even if disabled on server: [GitLab issue 349463](https://gitlab.com/gitlab-org/gitlab/-/issues/349463)

docs/netconfig.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ GCM supports other ways of configuring a proxy for convenience and compatibility
4949
1. GCM-specific configuration options (_**only** respected by GCM; **deprecated**_):
5050
- `credential.httpProxy`
5151
- `credential.httpsProxy`
52-
2. cURL environment variables (_also respected by Git_):
52+
1. cURL environment variables (_also respected by Git_):
5353
- `http_proxy`
5454
- `https_proxy`/`HTTPS_PROXY`
5555
- `all_proxy`/`ALL_PROXY`
56-
3. `GCM_HTTP_PROXY` environment variable (_**only** respected by GCM; **deprecated**_)
56+
1. `GCM_HTTP_PROXY` environment variable (_**only** respected by GCM; **deprecated**_)
5757

5858
Note that with the cURL environment variables there are both lowercase and
5959
uppercase variants.

0 commit comments

Comments
 (0)