mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
chore: tell the user how to clean her git local branches.
This commit is contained in:
committed by
Benoit Chevallier
parent
f9a1a904e0
commit
61deac66bf
9
Makefile
9
Makefile
@@ -357,3 +357,12 @@ help:
|
||||
.PHONY: pip_audit # Run pip-audit and check if there are known vulnerabilities in our dependencies
|
||||
pip_audit:
|
||||
poetry run pip-audit
|
||||
|
||||
.PHONY: clean_local_git # Tell the user how to delete local git branches, except main
|
||||
clean_local_git:
|
||||
@git fetch --all --prune
|
||||
@echo "Consider doing: "
|
||||
@echo
|
||||
@# Don't consider deleting `main` or current branches
|
||||
@git branch | grep -v "^*" | grep -v main | xargs echo "git branch -D "
|
||||
@echo
|
||||
|
||||
Reference in New Issue
Block a user