Index: man/src/git-footers.demo.1.sh |
diff --git a/man/src/git-footers.demo.1.sh b/man/src/git-footers.demo.1.sh |
new file mode 100755 |
index 0000000000000000000000000000000000000000..6825857cd95de078a3c8adafd5bf302c04641e16 |
--- /dev/null |
+++ b/man/src/git-footers.demo.1.sh |
@@ -0,0 +1,17 @@ |
+#!/usr/bin/env bash |
+. demo_repo.sh |
+ |
+add deleted_file |
+add unstaged_deleted_file |
+add modified_file |
+c 'I commited this and am proud of it. |
+ |
+Cr-Commit-Position: refs/heads/master@{#292272} |
+Tech-Debt-Introduced: 17 microMSOffices |
+Tech-Debt-Introduced: -4 microMSOffices' |
+ |
+run git footers HEAD |
+run git footers --key Tech-Debt-Introduced HEAD |
+run git footers --position HEAD |
+run git footers --position-num HEAD |
+run git footers --position-ref HEAD |