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

Documentation of project uses branch as master #3

Closed
DanBrown47 opened this issue Oct 10, 2021 · 1 comment
Closed

Documentation of project uses branch as master #3

DanBrown47 opened this issue Oct 10, 2021 · 1 comment

Comments

@DanBrown47
Copy link
Contributor

In Readme.md at section Pushing commit, The command given is

  git push --set-upstream origin master

Where master branch is absent in the repository at the time of this issue. Also the use of master branch is not a good practice,
The master branch has been depreciated in use by GitHub in order to foster inclusivity and making a welcoming atmosphere for the opensource community.

The command should be changed to

  git push -u origin main

Here a way to avoid having to explicitly type --set-upstream / --set-upstream-to is to use its shorthand flag -u as explicitly typing long commands are not a good practice.

@lonebots
Copy link
Collaborator

Thank you @DanBrown47 for that valuable input and now it's fixed

ben-jnr pushed a commit that referenced this issue Oct 28, 2021
Created personalise public card
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

No branches or pull requests

2 participants