Answers for "main vs master in git"


main vs master in git

The main branch has already replaced all new github repos as the main branch.
You can read up on it here. There is no actual difference between main and 
master, it's just the name of the default branch.

For you git push origin master just creates a new branch called master 
(since it doesn't exist already) and pushes your current commits there.
Posted by: Guest on June-13-2021

Code answers related to "main vs master in git"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language