Use main as branch name
This commit is contained in:
parent
b8f38ee429
commit
e6a24f177c
|
@ -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 -
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue