view github-push.sh @ 1042:02826a8be8f2

fix: windows path not working correctly
author sam <sam@basx.dev>
date Sun, 24 Mar 2024 21:47:54 +0700
parents 459fe2761311
children
line wrap: on
line source

#!/bin/bash


# prevent endless recursion
if [[ "$HG_ARGS" == *"github-mirror"* ]]; then
    exit 0
fi

hg bookmark hg
hg push github-mirror