change installation source from master to main (#1092)

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
This commit is contained in:
罗泽轩 2023-10-23 12:13:40 +08:00 committed by GitHub
parent 04bf403861
commit cc1c0e1a38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View file

@ -1,9 +1,9 @@
name: ci name: ci
on: on:
push: push:
branches: [master] branches: [main]
pull_request: pull_request:
branches: [master] branches: [main]
jobs: jobs:
lint: lint:
runs-on: 'ubuntu-latest' runs-on: 'ubuntu-latest'

View file

@ -159,7 +159,7 @@ See the Makefile for details on advanced configuration options.
One-liner: One-liner:
```bash ```bash
curl -sSL https://raw.githubusercontent.com/tj/git-extras/master/install.sh | sudo bash /dev/stdin curl -sSL https://raw.githubusercontent.com/tj/git-extras/main/install.sh | sudo bash /dev/stdin
``` ```
## Installing as Zsh plugin ## Installing as Zsh plugin

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
VERSION="7.1.0-dev" VERSION="7.1.0-dev"
INSTALL_SCRIPT="https://raw.githubusercontent.com/tj/git-extras/master/install.sh" INSTALL_SCRIPT="https://raw.githubusercontent.com/tj/git-extras/main/install.sh"
update() { update() {
local bin="$(command -v git-extras)" local bin="$(command -v git-extras)"

View file

@ -3,7 +3,7 @@ index e49cd24..4ae28b5 100755
--- a/bin/git-extras --- a/bin/git-extras
+++ b/bin/git-extras +++ b/bin/git-extras
@@ -4,13 +4,12 @@ VERSION="4.3.0" @@ -4,13 +4,12 @@ VERSION="4.3.0"
INSTALL_SCRIPT="https://raw.githubusercontent.com/tj/git-extras/master/install.sh" INSTALL_SCRIPT="https://raw.githubusercontent.com/tj/git-extras/main/install.sh"
update() { update() {
- local bin="$(command -v git-extras)" - local bin="$(command -v git-extras)"