GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — master to main · pre-commit/pre-commit.com@f93535b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • deploy.yml
  • README.md
  • base.mako
  • sections
    • advanced.md
    • new-hooks.md
    • usage.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/deploy.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/deploy.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: deploy
22
on:
33
pull_request:
44
push:
5-
branches: [master]
5+
branches: [main]
66
schedule:
77
- cron: '30 8 * * *'
88

Collapse file

‎README.md‎

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
pre-commit.com
22
==============
33

4-
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/pre-commit/pre-commit.com/master.svg)](https://results.pre-commit.ci/latest/github/pre-commit/pre-commit.com/master)
4+
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/pre-commit/pre-commit.com/main.svg)](https://results.pre-commit.ci/latest/github/pre-commit/pre-commit.com/main)
55
[![Build Status](https://github.com/pre-commit/pre-commit.com/workflows/deploy/badge.svg)](https://github.com/pre-commit/pre-commit.com/actions)
66

77
This powers https://pre-commit.com
Collapse file

‎base.mako‎

Copy file name to clipboardExpand all lines: base.mako
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@
5454
A framework for managing and maintaining multi-language <span class="text-nowrap">pre-commit</span> hooks.
5555
</p>
5656
<div class="mb-3">
57-
<a href="https://dev.azure.com/asottile/asottile/_build/latest?definitionId=21&branchName=master">
58-
<img src="https://dev.azure.com/asottile/asottile/_apis/build/status/pre-commit.pre-commit?branchName=master" alt="Build Status" style="max-width:100%;">
57+
<a href="https://dev.azure.com/asottile/asottile/_build/latest?definitionId=21&branchName=main">
58+
<img src="https://dev.azure.com/asottile/asottile/_apis/build/status/pre-commit.pre-commit?branchName=main" alt="Build Status" style="max-width:100%;">
5959
</a>
60-
<a href="https://dev.azure.com/asottile/asottile/_build/latest?definitionId=21&branchName=master">
61-
<img src="https://img.shields.io/azure-devops/coverage/asottile/asottile/21/master.svg" alt="Azure DevOps Coverage" style="max-width:100%;">
60+
<a href="https://dev.azure.com/asottile/asottile/_build/latest?definitionId=21&branchName=main">
61+
<img src="https://img.shields.io/azure-devops/coverage/asottile/asottile/21/main.svg" alt="Azure DevOps Coverage" style="max-width:100%;">
6262
</a>
63-
<a href="https://results.pre-commit.ci/latest/github/pre-commit/pre-commit/master">
64-
<img src="https://results.pre-commit.ci/badge/github/pre-commit/pre-commit/master.svg" alt="pre-commit.ci status" style="max-width:100%;">
63+
<a href="https://results.pre-commit.ci/latest/github/pre-commit/pre-commit/main">
64+
<img src="https://results.pre-commit.ci/badge/github/pre-commit/pre-commit/main.svg" alt="pre-commit.ci status" style="max-width:100%;">
6565
</a>
6666
</div>
6767
<div>
Collapse file

‎sections/advanced.md‎

Copy file name to clipboardExpand all lines: sections/advanced.md
+5-5Lines changed: 5 additions & 5 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ Initialized empty Git repository in /tmp/sample/.git/
413413
$ cd sample
414414
$ git commit --allow-empty -m 'Initial commit'
415415
`.pre-commit-config.yaml` config file not found. Skipping `pre-commit`.
416-
[master (root-commit) d1b39c1] Initial commit
416+
[main (root-commit) d1b39c1] Initial commit
417417
```
418418

419419
To still require opt-in, but prompt the user to set up pre-commit use a
@@ -458,8 +458,8 @@ Some of the common tags you'll find from identify:
458458
- `executable` - whether the file has the executable bit set
459459
- `text` - whether the file looks like a text file
460460
- `binary` - whether the file looks like a binary file
461-
- [tags by extension / naming convention](https://github.com/pre-commit/identify/blob/master/identify/extensions.py)
462-
- [tags by shebang (`#!`)](https://github.com/pre-commit/identify/blob/master/identify/interpreters.py)
461+
- [tags by extension / naming convention](https://github.com/pre-commit/identify/blob/main/identify/extensions.py)
462+
- [tags by shebang (`#!`)](https://github.com/pre-commit/identify/blob/main/identify/interpreters.py)
463463

464464
To discover the type of any file on disk, you can use `identify`'s cli:
465465

@@ -645,7 +645,7 @@ pre-commit.ci also has the following benefits:
645645
- it will autofix pull requests
646646
- it will periodically autoupdate your configuration
647647

648-
[![pre-commit.ci speed comparison](https://raw.githubusercontent.com/pre-commit-ci-demo/demo/master/img/2020-12-15_noop.svg)](https://github.com/pre-commit-ci-demo/demo#results)
648+
[![pre-commit.ci speed comparison](https://raw.githubusercontent.com/pre-commit-ci-demo/demo/main/img/2020-12-15_noop.svg)](https://github.com/pre-commit-ci-demo/demo#results)
649649

650650
[pre-commit.ci]: https://pre-commit.ci
651651

@@ -662,7 +662,7 @@ note: azure pipelines uses immutable caches so the python version and
662662
`.pre-commit-config.yaml` hash must be included in the cache key. for a
663663
repository template, see [[email protected]].
664664

665-
[[email protected]]: https://github.com/asottile/azure-pipeline-templates/blob/master/job--pre-commit.yml
665+
[[email protected]]: https://github.com/asottile/azure-pipeline-templates/blob/main/job--pre-commit.yml
666666

667667
```yaml
668668
jobs:
Collapse file

‎sections/new-hooks.md‎

Copy file name to clipboardExpand all lines: sections/new-hooks.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ _new in 1.14.0_: a commit is no longer necessary to `try-repo` on a local
113113
directory. `pre-commit` will clone any tracked uncommitted changes.
114114

115115
```pre-commit
116-
~/work/hook-repo $ git checkout origin/master -b feature
116+
~/work/hook-repo $ git checkout origin/main -b feature
117117
118118
# ... make some changes
119119
Collapse file

‎sections/usage.md‎

Copy file name to clipboardExpand all lines: sections/usage.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ pyupgrade................................................................Passed
2727
rst ``code`` is two backticks........................(no files to check)Skipped
2828
rst..................................................(no files to check)Skipped
2929
changelog filenames..................................(no files to check)Skipped
30-
[master 146c6c2c] Add super awesome feature
30+
[main 146c6c2c] Add super awesome feature
3131
1 file changed, 1 insertion(+)
3232
```

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.