Frage

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.

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top