Skip to content

Instantly share code, notes, and snippets.

View foushua's full-sized avatar
💭
I may be slow to respond.

Joshua foushua

💭
I may be slow to respond.
View GitHub Profile
@foushua
foushua / Makefile
Created June 10, 2022 19:38 — forked from prwhite/Makefile
Add a help target to a Makefile that will allow all targets to be self documenting
# Add the following 'help' target to your Makefile
# And add help text after each target name starting with '\#\#'
help: ## Show this help.
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
# Everything below is an example
target00: ## This message will show up when typing 'make help'
@echo does nothing
@foushua
foushua / semantic-commit-messages.md
Created December 12, 2021 22:09 — forked from joshbuchea/semantic-commit-messages.md
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example