From 6eb314fc8e7a4278b995504d46563dcba57c8b70 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Mon, 30 May 2022 16:05:32 -0400 Subject: [PATCH] love my git shortcuts --- misc/git_scripts/git-deep-clean.sh | 3 --- misc/git_scripts/git_super_clean.bat | 3 +++ misc/git_scripts/git_super_clean.sh | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) delete mode 100644 misc/git_scripts/git-deep-clean.sh create mode 100644 misc/git_scripts/git_super_clean.bat create mode 100755 misc/git_scripts/git_super_clean.sh diff --git a/misc/git_scripts/git-deep-clean.sh b/misc/git_scripts/git-deep-clean.sh deleted file mode 100644 index 296520a9e3..0000000000 --- a/misc/git_scripts/git-deep-clean.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -git clean -f -X \ No newline at end of file diff --git a/misc/git_scripts/git_super_clean.bat b/misc/git_scripts/git_super_clean.bat new file mode 100644 index 0000000000..266b1a9748 --- /dev/null +++ b/misc/git_scripts/git_super_clean.bat @@ -0,0 +1,3 @@ +git reset --hard +git submodule update --init +git clean -fxd \ No newline at end of file diff --git a/misc/git_scripts/git_super_clean.sh b/misc/git_scripts/git_super_clean.sh new file mode 100755 index 0000000000..c10101ae80 --- /dev/null +++ b/misc/git_scripts/git_super_clean.sh @@ -0,0 +1,4 @@ +#!/bin/bash +git reset --hard +git submodule update --init +git clean -fxd \ No newline at end of file