ari.lt/scripts/git.sh
Ari Archer a4d35b18cf update @ Tue 3 May 23:52:11 EEST 2022
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-05-03 23:52:11 +03:00

14 lines
257 B
Bash
Executable file

#!/usr/bin/env sh
set -e
main() {
find . -name '_*.css' -or \
-name '*.sass.css' -type f -exec rm -rfv {} \;
git add -A
git commit -sam "${m:-update @ $(date)}"
git push -u origin "$(git rev-parse --abbrev-ref HEAD)"
}
main "$@"