What command are you using?

I tried:
git branch -m master main

and it worked in a quick test on my machine.

Purcell

On Thu, May 4, 2023 at 3:19 PM Rich Shepard <[email protected]>
wrote:

> I'm trying to rename the 'master' branch to 'main' on a laptop directory.
> Git tells me that 'master' is not a git command, while 'git branch' shows
> the only branch as 'master.'
>
> Why might this be?
>
> Rich
>


-- 
Darkness spoons with you.

Reply via email to