From aecd24e3aff7109a78a9e0b3f3be474fae4769a9 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Mon, 9 Jun 2025 12:59:18 +0200 Subject: [PATCH] chore(git/snippets): add commands --- snippets/git.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snippets/git.sh b/snippets/git.sh index 5668b4d..5513ad7 100644 --- a/snippets/git.sh +++ b/snippets/git.sh @@ -36,6 +36,8 @@ git remote | xargs -n 1 git push git lfs pull +# Recursively remove files not under version control. +git clean -df # Get the top-level directory of the current repository. git rev-parse --show-toplevel