SIH Tech Tidbits

Useful tips, libraries and tools from the Sydney Informatics Hub team

#git Articles


Mermaid flowcharts in GitHub Markdown

Mermaid is a JavaScript library for generating diagrams from a simple text format. GitHub autogenerates Mermaid diagrams for you if you include them in Markdown using triple-backticks: ## Dataflow Here's …

Find github pages

To gauge how many github repos have a "github pages" within a particular an organisation, you can run: gh api -H "Accept: application/vnd.github+json" /orgs/Sydney-Informatics-Hub/repos --jq …






Cleaning a git diff

Code review is easiest when the changes offered by a head branch onto a base branch are focussed on a single purpose of change. When they are not, the diff …