Skip to content

Commit

Permalink
πŸ“ Change default branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnitto authored and Jon Uhlmann committed Jan 1, 2021
1 parent bb5c609 commit 3c5072b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ chance of keeping on top of things.
## Making Changes

- Create a topic branch from where you want to base your work.
- This is usually the master branch.
- This is usually the main branch.
- Only target release branches if you are certain your fix must be on that
branch.
- To quickly create a topic branch based on master; `git branch master/my_contribution master` then checkout the new branch with `git checkout master/my_contribution`. Better avoid working directly on the
`master` branch, to avoid conflicts if you pull in updates from origin.
- To quickly create a topic branch based on main; `git branch main/my_contribution main` then checkout the new branch with `git checkout main/my_contribution`. Better avoid working directly on the
`main` branch, to avoid conflicts if you pull in updates from origin.
- Make commits of logical units.
- Check for unnecessary whitespace with `git diff --check` before committing.
- Use descriptive commit messages and reference the #issue number.
Expand Down

0 comments on commit 3c5072b

Please sign in to comment.