_cwd_git¶
-
privex.helpers.extras.git.
_cwd_git
= <privex.helpers.extras.git._AsyncGit object>¶ _cwd_git
is a pre-instantiated_AsyncGit
instance which uses the current working directory as the current git repo.This instance is used by global instance method aliases
get_current_commit
,get_current_branch
,get_current_tag
, to allow developers to easily call methods such as_AsyncGit.get_current_tag()
without having to instantiate theGit
class.