$ git clone -n https://gitee.com/src-anolis-os/sharutils.git /mnt/koji-mock/dist-an23-sw8a-build-460666-73750/root/chroot_tmpdir/scmroot/sharutils Cloning into '/mnt/koji-mock/dist-an23-sw8a-build-460666-73750/root/chroot_tmpdir/scmroot/sharutils'... $ git reset --hard origin/a23 HEAD is now at 52c7dc6 fix source link