diff --git a/.gitignore b/.gitignore index fe1b454..72c422a 100644 --- a/.gitignore +++ b/.gitignore @@ -229,8 +229,7 @@ pyrightconfig.json # Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option) -test audio .vscode -files .idea -bundles +bundles/* +!bundles/new_bundle.sh diff --git a/bundles/new_bundle.sh b/bundles/new_bundle.sh new file mode 100755 index 0000000..2e518cc --- /dev/null +++ b/bundles/new_bundle.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd) + +time=$(date +%Y-%m-%d_%H-%M-%S) +fname=$SCRIPT_DIR/$time.bundle + +echo Creating bundle: $fname +git bundle create $fname --all