def get_git_rev():
    return sh_str("git rev-parse --short HEAD")
Checks if the target file should be deleted if it already exists
dataset/ETHPy150Open freenas/freenas-build/build/tools/checkout.py/get_git_rev--crossover with--dataset/ETHPy150Open django-cumulus/django-cumulus/cumulus/management/commands/collectstatic.py/Command.delete_file