浏览代码

include date, git hash & status

Fabian Peter Hammerle 8 年之前
父节点
当前提交
bf818f0c81
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      main.Rmd

+ 6 - 0
main.Rmd

@@ -4,6 +4,12 @@
 opts_chunk$set(fig.path='figures/')
 ```
 
+```{sh}
+date
+git rev-parse --verify HEAD
+git status --porcelain
+```
+
 ## font style
 
 **bold**