tag: main branch

Changing the Git master branch to main (updated)
Maria D. Campbell
Changing the Git master branch to main on Github (updated).

When you forget to make your first git commit to remote origin, checkout into a new branch, and then merge into main
Maria D. Campbell
In this post, I discuss creating a new local Git repository, checking out into a new branch called create-config-project-and-users-app, trying to check out into main branch after committing changes in create-config-project-and-users-app, and after not succeeding, creating a new branch called main in create-config-project-and-users-app and checking out into main all at once, creating the remote repository on GitHub, adding remote origin, merging create-config-project-and-users-app into main, and pushing changes to remote origin.
#fullstack development, #macOS, #command line, #git, #local repository, #remote repository, #feature branch, #main branch, #git merge, #series, #terminal