Use main as branch name
This commit is contained in:
parent
b8f38ee429
commit
e6a24f177c
|
@ -69,9 +69,9 @@ fi
|
||||||
function pushdot {
|
function pushdot {
|
||||||
cd "$SCRIPT_DIR" || return 1
|
cd "$SCRIPT_DIR" || return 1
|
||||||
if [ $# -eq 0 ]; then
|
if [ $# -eq 0 ]; then
|
||||||
git commit -a && git push -u origin master &
|
git commit -a && git push -u origin main &
|
||||||
else
|
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
|
fi
|
||||||
cd -
|
cd -
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue