Hello,
I am using these commands to build and install kamailio:

git clone http://git.sip-router.org/sip-router kamailio
cd kamailio
git checkout -b 3.1 origin/3.1
make FLAVOUR=kamailio cfg
make group_include="mysql" all
make group_include="mysql" install

Now, If  I want to build a specific commit like a0d376d85aae2f6e46e381a01fb85c5830250d4d, what should I do?

regards,
takeshi