Вопрос

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.

Это было полезно?

Решение

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top