Skip to content

totten/git-footnote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-footnote is a tool intended for use in git's "commit-msg" hook. It appends footnotes based on inline references.

For example, one can put this in a project's .git/hooks/commit-msg:

#!/bin/bash
set -e

FILE="$1"
TMPFILE="$1.jira"
cp -p "$FILE" "$TMPFILE"
git-footnote MYAPP http://issues.example.org/jira < "$TMPFILE" > "$FILE"
rm -f "$TMPFILE"

About

Add footnotes (for JIRA references, etal) to git commits

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages