Skip to content

Commit

Permalink
πŸ§‘β€πŸ’»(project) introduce a clean command
Browse files Browse the repository at this point in the history
Allow developer cleaning their repo, by restoring it as it was freshly cloned.
Especially useful to solve recurrent out-dated env files.
  • Loading branch information
lebaudantoine authored and jmaupetit committed Jan 23, 2024
1 parent 6b48c3d commit 044f71f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,10 @@ help:
@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
.PHONY: help

clean: ## restore repository state as it was freshly cloned
git clean -idx
.PHONY: clean

jupytext--to-md: ## convert local ipynb files into md
bin/jupytext --to md work/*.ipynb
.PHONY: jupytext--to-md
Expand Down

0 comments on commit 044f71f

Please sign in to comment.