Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to silence the warning #6

Open
Daniele-Tentoni opened this issue Oct 27, 2021 · 1 comment · May be fixed by #8
Open

Update to silence the warning #6

Daniele-Tentoni opened this issue Oct 27, 2021 · 1 comment · May be fixed by #8

Comments

@Daniele-Tentoni
Copy link

Hello,
before all, thank you for the useful action. I've noticed this warning in log of my runs:

hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint: 	git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint: 	git branch -m <name>

Can I prepare a pull request to silence this warning? My proposal is to call the default branch not master, but main, like Github is already suggesting.

@xRealNeon
Copy link
Owner

Yeah, go ahead

@Daniele-Tentoni Daniele-Tentoni linked a pull request Oct 30, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants