get_git_commit | R Documentation |
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.
get_git_commit(gitdir = "~/hpgltools")
gitdir |
Directory containing the git repository. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.