Skip to content

Commit 3aab163

Browse files
authored
change "master" branch references to "main" (#104)
and incidentally remove a defunct Travis button from README.rst. The default branch itself was changed long ago, but not the references to it in code and documentation.
1 parent d56f7f5 commit 3aab163

4 files changed

Lines changed: 8 additions & 10 deletions

File tree

CHANGELOG

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
(released on TBD)
66

7-
- Update license dates
7+
- Update license dates.
8+
- Change `master` branch references to `main`.
89

910
## Version 2.10.0
1011

CONTRIBUTING.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ Ready to contribute? Here's how to set up CLI Helpers for local development.
3939
$ pip install -r requirements-dev.txt
4040
$ pip install --editable .
4141

42-
6. Create a branch for your bugfix or feature based off the ``master`` branch::
42+
6. Create a branch for your bugfix or feature based off the ``main`` branch::
4343

44-
$ git checkout -b <name-of-bugfix-or-feature> master
44+
$ git checkout -b <name-of-bugfix-or-feature> main
4545

4646
7. While you work on your bugfix or feature, be sure to pull the latest changes from ``upstream``.
4747
This ensures that your local codebase is up-to-date::
4848

49-
$ git pull upstream master
49+
$ git pull upstream main
5050

5151
8. When your work is ready for the CLI Helpers team to review it,
5252
make sure to add an entry to CHANGELOG file, and add your name to the AUTHORS file.

README.rst

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,10 @@
22
CLI Helpers
33
===========
44

5-
.. image:: https://travis-ci.org/dbcli/cli_helpers.svg?branch=master
6-
:target: https://travis-ci.org/dbcli/cli_helpers
7-
8-
.. image:: https://ci.appveyor.com/api/projects/status/37a1ri2nbcp237tr/branch/master?svg=true
5+
.. image:: https://ci.appveyor.com/api/projects/status/37a1ri2nbcp237tr/branch/main?svg=true
96
:target: https://ci.appveyor.com/project/dbcli/cli-helpers
107

11-
.. image:: https://codecov.io/gh/dbcli/cli_helpers/branch/master/graph/badge.svg
8+
.. image:: https://codecov.io/gh/dbcli/cli_helpers/branch/main/graph/badge.svg
129
:target: https://codecov.io/gh/dbcli/cli_helpers
1310

1411
.. image:: https://img.shields.io/pypi/v/cli_helpers.svg?style=flat

release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def upload_distribution_files():
7474

7575

7676
def push_to_github():
77-
run_step("git", "push", "origin", "master")
77+
run_step("git", "push", "origin", "main")
7878

7979

8080
def push_tags_to_github():

0 commit comments

Comments
 (0)