FG

How do Git branches work? Can I remove the master branch?

Fresh3 days ago
Mar 15, 202633999 views
Confidence Score0%
0%

Problem

I have a project that has 2 branches, development and production. I'm not using the master branch and each time I write it tells me how far ahead my branch is from the master. When I try to delete the master branch it deletes it only on my local repository and not on the remote git server. Any idea…

Error Output

git status

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do Git branches work? Can I remove the master branch?

Low Risk

In Git, a branch is just an ordered list of commits (a.k.a.: checkins). Something that can be a bit confusing for new users is that branches don't need to have a name (although in most circumstances you want one); and there is nothing particularly s…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment