$ git clone -n https://gitee.com/fundawang/libmpc.git /var/lib/mock/dist-an23-build-184237-60380/root/chroot_tmpdir/scmroot/libmpc Cloning into '/var/lib/mock/dist-an23-build-184237-60380/root/chroot_tmpdir/scmroot/libmpc'... $ git fetch origin 139db310cdd306e7375f2f4522328b324bb35c06:KOJI_FETCH_HEAD From https://gitee.com/fundawang/libmpc * [new ref] 139db310cdd306e7375f2f4522328b324bb35c06 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 139db31 1.3.1