From cc1c0e1a383f061c6f446eeab7e56d38842f9332 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E6=B3=BD=E8=BD=A9?= Date: Mon, 23 Oct 2023 12:13:40 +0800 Subject: [PATCH] change installation source from master to main (#1092) Signed-off-by: spacewander --- .github/workflows/ci.yml | 4 ++-- Installation.md | 2 +- bin/git-extras | 2 +- brew-release.patch | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 561800f..2282331 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,9 +1,9 @@ name: ci on: push: - branches: [master] + branches: [main] pull_request: - branches: [master] + branches: [main] jobs: lint: runs-on: 'ubuntu-latest' diff --git a/Installation.md b/Installation.md index a18ff4a..ec736ec 100644 --- a/Installation.md +++ b/Installation.md @@ -159,7 +159,7 @@ See the Makefile for details on advanced configuration options. One-liner: ```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 diff --git a/bin/git-extras b/bin/git-extras index 33098fc..42fb16d 100755 --- a/bin/git-extras +++ b/bin/git-extras @@ -1,7 +1,7 @@ #!/usr/bin/env bash 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() { local bin="$(command -v git-extras)" diff --git a/brew-release.patch b/brew-release.patch index 082cefb..94f3f8d 100644 --- a/brew-release.patch +++ b/brew-release.patch @@ -3,7 +3,7 @@ index e49cd24..4ae28b5 100755 --- a/bin/git-extras +++ b/bin/git-extras @@ -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() { - local bin="$(command -v git-extras)"