Pergunta

I run the command:

git commit -m 'initial commit'
git add .

Then the screen gave me the information. git-add

I think that the files were added to the remote cloud. But why I can't find them in my bitbucket account.

Foi útil?

Solução

The order is not correct.

Modified files are not committed in this case.

You should add those files before committing to BitBucket

git add .
git commit -m 'initial commit'

Study the guide for a better understanding.
Basics of Working in Local Repository Git

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top