E
E
EvgMul2020-02-22 11:17:25
git
EvgMul, 2020-02-22 11:17:25

How not to list all branches?

Hello. If you clone a project with a bunch of branches, then the command git branchwill show only one active branch. As you switch between branches, the command git branchwill show a list of all previously used branches, highlighting the active one in green.
Tell me, is it possible to clear this local list somehow?
Thanks in advance to all who respond.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2020-02-22
@EvgMul

Delete local branches: git branch -D branch-name

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question