view github-push.sh @ 1037:459fe2761311

some cleanup
author sam <sam@basx.dev>
date Thu, 21 Mar 2024 23:05:17 +0700
parents
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