File tree 4 files changed +6
-6
lines changed
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 5
5
push :
6
6
branches : [ '*' ]
7
7
pull_request :
8
- branches : [ master ]
8
+ branches : [ main ]
9
9
10
10
# Allows you to run this workflow manually from the Actions tab
11
11
workflow_dispatch :
Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ interactions from the command line. They are installed by default.
258
258
259
259
- `upgrade`
260
260
Upgrade the `git-hub` installation to the latest version. Note: you need to
261
- be running 'git-hub' from the source repo, and be on the master branch for
261
+ be running 'git-hub' from the source repo, and be on the main branch for
262
262
this to work.
263
263
264
264
- `user [<user>]`
@@ -884,7 +884,7 @@ Do everything from the command line:
884
884
$ echo 'The new foo' > README
885
885
$ git add README
886
886
$ git commit -m 'First commit'
887
- $ git push origin master
887
+ $ git push origin main
888
888
$ git hub repo-edit \
889
889
description 'The new foo' \
890
890
homepage http://example.com
Original file line number Diff line number Diff line change 3
3
command:upgrade () {
4
4
local path=" $0 "
5
5
local branch=" $( git rev-parse --abbrev-ref HEAD) "
6
- if [[ $branch != master ]]; then
7
- error " git-hub repo is not on the 'master ' branch"
6
+ if [[ $branch != main ]]; then
7
+ error " git-hub repo is not on the 'main ' branch"
8
8
fi
9
9
if [[ $path =~ ^/ && $path =~ ^(.* /git-hub)/lib/git-hub$ ]]; then
10
10
(
Original file line number Diff line number Diff line change @@ -1037,7 +1037,7 @@ help:upgrade() {
1037
1037
Usage: git hub upgrade
1038
1038
1039
1039
Upgrade the `git-hub` installation to the latest version. Note: you need to
1040
- be running 'git-hub' from the source repo, and be on the master branch for
1040
+ be running 'git-hub' from the source repo, and be on the main branch for
1041
1041
this to work.
1042
1042
...
1043
1043
}
You can’t perform that action at this time.
0 commit comments