My colleague created a repository on Bitbucket. First I created a folder on my computer and typed git init
. After that, I made a clone from the repository to my computer using the command: git clone address
.
But when I type git branch
, there is no answer. It does not indicate which branch am I'm in.
git init Initialized empty Git repository in /Users/IMAC/GsAdmin/.git/ git clone address Cloning into 'gsadmin'... Password: remote: Counting objects: 32, done. remote: Compressing objects: 100% (24/24), done. remote: Total 32 (delta 3), reused 0 (delta 0) git branch git status
What's my mistake? It is necessary to be guided.
source share