Sunday 15 June 2014

Is there a way to run a script inside a git repo immediately when that repo is cloned? -



Is there a way to run a script inside a git repo immediately when that repo is cloned? -

i want able add together top level of git repo pythonpath when cloned. there way this? have next script in top level of repo:

#!/bin/bash topdir=`pwd` export pythonpath=$topdir

and need run source configure @ top level. there way functionality when repo cloned, rather having run source configure every time clone or log in?

thanks.

git

No comments:

Post a Comment