Question

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.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top