$ git clone -n https://gitee.com/wb-qtt862918/grep.git /var/lib/mock/dist-an7_9-updates-build-180268-59133/root/chroot_tmpdir/scmroot/grep Cloning into '/var/lib/mock/dist-an7_9-updates-build-180268-59133/root/chroot_tmpdir/scmroot/grep'... $ git fetch origin 5328b9ad00fe5af8608eab401c90b5aff4207748:KOJI_FETCH_HEAD From https://gitee.com/wb-qtt862918/grep * [new ref] 5328b9ad00fe5af8608eab401c90b5aff4207748 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5328b9a 3.8