-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ name: format | |
on: | ||
pull_request: | ||
branches: | ||
- master | ||
- main | ||
workflow_dispatch: {} | ||
|
||
jobs: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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> | ||
|
@@ -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 | ||
|
@@ -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 | ||
|