Use main as branch name

This commit is contained in:
Sage Vaillancourt 2023-12-13 15:01:00 -05:00
parent b8f38ee429
commit e6a24f177c
1 changed files with 2 additions and 2 deletions

View File

@ -69,9 +69,9 @@ fi
function pushdot {
cd "$SCRIPT_DIR" || return 1
if [ $# -eq 0 ]; then
git commit -a && git push -u origin master &
git commit -a && git push -u origin main &
else
git commit -a -m "$1" && git push -u origin master | /dev/null &
git commit -a -m "$1" && git push -u origin main | /dev/null &
fi
cd -
}