You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simple utility for getting the current git commit hash (HEAD).
Installation
pip install githead
Basic usage
fromgitheadimportgitheadgithead() # -> 'bca663418428d603eea8243d08a5ded19eb19a34'# defaults to '.git' directory but can be changed:githead('path/to/.git')
About
Simple utility for getting the current git commit hash (HEAD)