git config user.name 'John Doe'
git config user.email email@example.com
If you are using gitorious, you might find handy to use an alternate ssh key made specifically for gitorious upload. You could make such a key with:
ssh-keygen -b 4096 -C firstname.lastname@example.org
Save the key under
Upload the public key to gitorious. After that, you'll be able to use the new key to push your changes to gitorious using the
Another very useful setting for using git with CMake is to add the
build/dir into your
.git/info/excludefile so that
git statusignores all build files.