$ git clone -n https://gitee.com/mgb01105731/libmatchbox.git /var/lib/mock/dist-an23-build-275976-64333/root/chroot_tmpdir/scmroot/libmatchbox Cloning into '/var/lib/mock/dist-an23-build-275976-64333/root/chroot_tmpdir/scmroot/libmatchbox'... $ git fetch origin 1f3c50c316191c0b116e2dff0fadb99dd88a711a:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/libmatchbox * [new ref] 1f3c50c316191c0b116e2dff0fadb99dd88a711a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1f3c50c init upstream from version 1.9