Git help / Terminal

Helo,

To see the branch in my project I have to run this order: git branch.
Normally I have to see :

git branch

  • master.

But I don’t have this result ( see screenshot of the terminal).

try git branch --show-current to see the branch that you are on.

2 Likes

Hello there,

Typically, I use git status to view my current branch. However, it is likely you are not within a git repository - that is, the folder you are in, is not set up to be a repository. So, it will not display anything.

Hope this helps

2 Likes

I think it worked !!! Thanks

Thank you very much !!
git status didn’t work for me. I used git branch --show-current!