The following instructions and commands are to help you use Geany as the editor used with your Version Control System when writing commit messages. For integrating your VCS with Geany, make sure to check out the GeanyVC plugin.
echo 'export BZR_EDITOR="geany -imnst"' >> ~/.bashrc source ~/.bashrc
git config --global core.editor "geany -imnst"
echo 'export HGEDITOR="geany -imnst"' >> ~/.bashrc source ~/.bashrc
echo 'export SVN_EDITOR="geany -imnst"' >> ~/.bashrc source ~/.bashrc