git config user.name 'John Doe'
git config user.email firstname.lastname@example.org
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 email@example.com
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.