- copy the file
commit-msg
to.git/hooks/commit-msg
- make sure your delete the sample file
.git/hooks/commit-msg.sample
- Make commit msg executable.
chmod +x .git/hooks/commit-msg
- Edit
commit-msg
to better fit your development branch, commit regex and error message - Profit $$
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Generates gource video (h.264) out of multiple repositories. | |
# Pass the repositories in command line arguments. | |
# Example: | |
# <this.sh> /path/to/repo1 /path/to/repo2 | |
RESOLUTION="1600x1080" | |
outfile="gource.mp4" | |
i=0 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# .git/hooks/commit-msg | |
test "" != "$(egrep '[A-Z]{3,}-\d+' "$1")" || { | |
echo >&2 Commit message requires JIRA code. | |
exit 1 | |
} |
These instructions were adapted from tweets by Emma Stanford on using Bodleian Library IIIF images to create online jigsaw puzzles: https://twitter.com/e_stanf/status/1233102000151126017.
- Find an image in Harvard Digital Collections: https://library.harvard.edu/digital-collections. Here is an example image, MS Thr 495 (319) from the Harvard Theatre Collection:
https://id.lib.harvard.edu/digital_collections/hou01892c00350
- Click
Copy Manifest Link
in theTools & Related Links
panel. The link should like this: