Use 2 spaces indentation for all our files (.html, .php, etc). Please config the editor accordingly.
For most of the time, the following commands are enough.
-
git clone
-
git pull
: get the lastest version of code. -
git add .
: after making changes, add all changed or newly added files. -
git commit -m "msg"
: commit the changes. -
git push
: upload to central repo.