$ git clone -n https://gitee.com/fundawang/rpm.git /var/lib/mock/dist-an23-build-285699-64769/root/chroot_tmpdir/scmroot/rpm Cloning into '/var/lib/mock/dist-an23-build-285699-64769/root/chroot_tmpdir/scmroot/rpm'... $ git fetch origin 7a7a27988324072ef9e5065c8b25ad53fafddf8f:KOJI_FETCH_HEAD From https://gitee.com/fundawang/rpm * [new ref] 7a7a27988324072ef9e5065c8b25ad53fafddf8f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7a7a279 4.18.1