get_git_commit: Get the current git commit for hpgltools

View source: R/helpers_misc.R

get_git_commitR Documentation

Get the current git commit for hpgltools

Description

One might reasonably ask about this function: "Why?" I invoke this function at the end of my various knitr documents so that if necessary I can do a > git reset <commit id> and get back to the exact state of my code.

Usage

get_git_commit(gitdir = "~/hpgltools")

Arguments

gitdir

Directory containing the git repository.


elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.