Horje
how to switch from master to main Code Example
how to switch from master to main
git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/main
how to switch from master to main
Steps
Step 1 – Move the master branch to 'main'
Step 2 – Push 'main' to remote repo.
Step 3 – Point HEAD to 'main' branch.
Step 4 – Change default branch to 'main' on GitHub site.
Step 5 – Delete 'master' branch on the remote repo.




Whatever

Related
regex restrict year to four digits Code Example regex restrict year to four digits Code Example
difference between type and interface Code Example difference between type and interface Code Example
integral of tanx Code Example integral of tanx Code Example
add gist file to dev.to Code Example add gist file to dev.to Code Example
blob storage Code Example blob storage Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7