question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Rename all default branches to main across the fCC organization

See original GitHub issue

This issue is to keep track of switching all our repo’s to use main as the default branch - unless there’s maybe a special case or something. The list below is all our non archived repos - perhaps a few of them could be archived. This issue replaces/should take care of https://github.com/freeCodeCamp/freeCodeCamp/issues/39098 and https://github.com/freeCodeCamp/freeCodeCamp/issues/38987

Many of the boilerplates use gomix as the default branch, we can rename those to main as well. There shouldn’t be any problems with links on challenges that use them - replit clones the default branch, so the links should still work without modification.

References fixed means that any references to master or slave in documentation, readme’s, or other files are removed or changed to main or primary and replica if possible - or changed to whatever is appropriate for the context. Some other terms we could change while looking over the repos include whitelist and blacklist - These can be replaced with allowlist and blocklist. I think that if a quick search of these terms in a repo yields nothing, the code is probably fine - but feel free to leave a message if find something you think you be brought up.

Feel free to add a checkmark next to any repo if you’ve looked it over and the issue is fixed - or leave some notes or make a PR if there’s problems.

Details
Repo Branch Renamed References Fixed Notes
freeCodeCamp ✔️
boilerplate-project-timestamp ✔️ ✔️ Reviewed by @moT01
boilerplate-project-sudoku-solver ✔️ ✔️ Reviewed by @moT01
boilerplate-project-secure-real-time-multiplayer-game ✔️ ✔️ Reviewed by @moT01
boilerplate-project-metricimpconverter ✔️ ✔️ Reviewed by @moT01
boilerplate-project-messageboard ✔️ ✔️ Reviewed by @moT01
boilerplate-project-library ✔️ ✔️ Reviewed by @moT01
boilerplate-project-issuetracker ✔️ ✔️ Reviewed by @moT01
boilerplate-project-headerparser ✔️ ✔️ Reviewed by @moT01
boilerplate-project-filemetadata ✔️ ✔️ Reviewed by @moT01
boilerplate-project-exercisetracker ✔️ ✔️ Reviewed by @moT01
boilerplate-project-american-british-english-translator ✔️ ✔️ Reviewed by @moT01
boilerplate-mongomongoose ✔️ ✔️ Reviewed by @moT01
boilerplate-mochachai ✔️ ✔️ Reviewed by @moT01
boilerplate-mean-variance-standard-deviation-calculator ✔️ ✔️ Reviewed by @moT01
boilerplate-infosec ✔️ ✔️ Reviewed by @moT01
boilerplate-express ✔️ ✔️ Reviewed by @moT01
boilerplate-bcrypt ✔️ ✔️ Reviewed by @moT01
boilerplate-advancednode ✔️ ✔️ Reviewed by @moT01
boilerplate-project-stockchecker ✔️ ✔️ Reviewed by @moT01
boilerplate-project-urlshortener ✔️ ✔️ Reviewed by @moT01
boilerplate-npm ✔️ ✔️ Reviewed by @moT01
boilerplate-budget-app ✔️ ✔️ Reviewed by @moT01
boilerplate-sea-level-predictor ✔️ ✔️ Reviewed by @moT01
boilerplate-probability-calculator ✔️
boilerplate-medical-data-visualizer ✔️
boilerplate-polygon-area-calculator ✔️
boilerplate-arithmetic-formatter ✔️
boilerplate-neural-network-sms-text-classifier ✔️
boilerplate-linear-regression-health-costs-calculator ✔️
boilerplate-cat-and-dog-image-classifier ✔️
boilerplate-time-calculator ✔️
boilerplate-demographic-data-analyzer ✔️
boilerplate-page-view-time-series-visualizer ✔️
boilerplate-book-recommendation-engine ✔️
boilerplate-SHA-1-password-cracker ✔️
boilerplate-port-scanner ✔️
boilerplate-rock-paper-scissors ✔️
demo-projects-nginx-config
demo-projects
ghost-config
news-translation
news-theme
infra ✔️
devdocs ✔️
crowdin-config
coderadio-client ✔️
nginx-config
how-to-contribute-to-open-source
error-pages
cdn ✔️
scripts ✔️
forum-theme
chat-config
design-style-guide
CurriculumExpansion
chapter
testable-projects-fcc
100DaysOfCode-twitter-bot
template
auth0-templates
freeCatPhotoApp
forum-users-nav
fcc-express-bground-pkg
forum-banner
react-calendar-heatmap
videos-translation
netlify-redirects
client-config
FreeCodeCampTriviaQuiz
youtube-tutorials
loopback-component-passport
ProjectReferenceData
eslint-config-freecodecamp
open-data
react-bootstrap
react-notification
sendgrid-email-blast ✔️
store.js
cz-freecodecamp

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:6
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
ojeytonwilliamscommented, Sep 26, 2022

@raisedadead for https://github.com/freecodecamp/client-config I believe this can be changed unless you’re doing something fancy in the new devops approach. Right now we just clone the repo when needed.

0reactions
moT01commented, Sep 30, 2022

demo-projects ✅

Read more comments on GitHub >

github_iconTop Results From Across the Web

Easily rename your Git default branch from master to main
This is because -m is --move and all your reflog is unchanged! TL;DR in conclusion: git branch -m master main git push -u...
Read more >
Renaming the default branch - Tidyverse
How to rename default branch in your own existing repos. You can rename the default branch for repos that you effectively own. This...
Read more >
https://www.fcc.gov/sites/default/files/wireless/a...
Bidder Default If a winning bidder fails to submit the required down ... ORGANIZATION OF EXHIBITS Main Form and Schedule Exhibits The FCC...
Read more >
How to rename the master branch to main - DEV Community ‍ ‍
While git hosting companies like GitHub are already setting the default branch to main for any new... Tagged with git, github, devops, ...
Read more >
Administering Financial Consolidation and Close
Configuring Cards with Tabs from Multiple EPM Cloud Environments ... Example Home Page Displaying the Default Redwood Theme. Global Header.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found