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

Branch master is not used anymore by GitHub #311

Open
buondevid opened this issue Dec 13, 2020 · 11 comments · May be fixed by #318 or #376
Open

Branch master is not used anymore by GitHub #311

buondevid opened this issue Dec 13, 2020 · 11 comments · May be fixed by #318 or #376

Comments

@buondevid
Copy link

buondevid commented Dec 13, 2020

First of all, well done it's a great app!

Anyway in the "Remote control" challenge, it requires to create the remote repository using master branch, but GitHub has replaced it with main now, so I wasn't able to accomplish it!

Keep up the great work

@karlhorky
Copy link

@jlord would you be open to this change? To change all references to master to main instead?

It may require some additional setup on some people's machines (to default in Git to main instead of master) - eg. git config --global init.defaultBranch main as in our System Setup Guide for our bootcamp.

@jlord
Copy link
Owner

jlord commented Jan 12, 2021

Hi! I am definitely open to this change, if someone can get to it and make a PR that would be great otherwise I will try to make some time in the next couple of week. Thanks for raising!

@jotoeri

This comment has been minimized.

@karlhorky

This comment has been minimized.

@jotoeri

This comment has been minimized.

@karlhorky

This comment has been minimized.

@jotoeri

This comment has been minimized.

@karlhorky

This comment has been minimized.

@izzyreiff
Copy link

I am going to try and help out with a PR for this! I had the same issue and I'm happy someone else already pointed it out :)

@buondevid
Copy link
Author

Thanks @izzyreiff , I would have done it myself if I was able to :)

mehulrao added a commit to mehulrao/git-it-electron that referenced this issue Feb 5, 2021
Github changed the default branch name to main. This fixes jlord#311
@mehulrao mehulrao linked a pull request Feb 5, 2021 that will close this issue
@Rom1deTroyes
Copy link

As a workaround, you can create a local master branch, switch to it, push it to GitHub and continues the Challenges :

git checkout -b master
git push origin master

This was referenced Feb 15, 2022
@buondevid buondevid changed the title File master is not used anymore by GitHub Branch master is not used anymore by GitHub May 22, 2022
kalharbi added a commit to cpit251/git-it that referenced this issue Jan 30, 2023
Replace the default branch name to main in all challenges and images.
Master is no longer the default branch that git uses, so this commit replaces all
occurrences of the branch `master` to `main` in all challenges and two images.
This also fixes jlord#311
@kalharbi kalharbi linked a pull request Jan 30, 2023 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
6 participants