Skip to content

Commit

Permalink
Rename master branch to main
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Jan 3, 2023
1 parent 21cf512 commit 99c716b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: format
on:
pull_request:
branches:
- master
- main
workflow_dispatch: {}

jobs:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Bootstrap a new Go module in five minutes or less.
### Bootstrapping a new project

1. Create an empty (**non-initialized**) repository on GitHub.
2. Clone the master branch of this repository with
2. Clone the main branch of this repository with
```
$ git clone --single-branch [email protected]:makenew/gomodule.git <new-go-module>
$ cd <new-go-module>
Expand All @@ -48,7 +48,7 @@ Bootstrap a new Go module in five minutes or less.
$ git diff --cached
$ git commit -m "Replace makenew boilerplate"
git remote add origin [email protected]:<user>/<new-go-module>.git
$ git push -u origin master
$ git push -u origin main
```
6. Ensure the GitHub action passes,
then release the initial version with
Expand All @@ -72,7 +72,7 @@ You can then fetch and merge changes with

```
$ git fetch --no-tags upstream
$ git merge upstream/master
$ git merge upstream/main
```

#### Changelog for this skeleton
Expand Down

0 comments on commit 99c716b

Please sign in to comment.