mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
change installation source from master to main (#1092)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
This commit is contained in:
parent
04bf403861
commit
cc1c0e1a38
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -1,9 +1,9 @@
|
|||
name: ci
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
branches: [main]
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: 'ubuntu-latest'
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)"
|
||||
|
|
|
|||
|
|
@ -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)"
|
||||
|
|
|
|||
Loading…
Reference in a new issue