wiki:gitnotes

Version 1 (modified by gribeiro, 12 years ago) (diff)

--

TerraMA2 - git usage notes

If you want to set the user name and e-mail for tracking commits, type in the shell:

git config --global user.name "user-name"
git config --global user.email "user-name@my.address"

To sync your local copy with the server:

git pull

If you have new files or have updated any files, first you have to stage them:

git add .

Then you can commit the modifications:

git commit -m "update message"

And finally you can push your commits to the server:

git push