$ git clone -n https://gitee.com/fundawang/postfix.git /var/lib/mock/dist-an23-build-348794-70439/root/chroot_tmpdir/scmroot/postfix Cloning into '/var/lib/mock/dist-an23-build-348794-70439/root/chroot_tmpdir/scmroot/postfix'... $ git fetch origin 5f12f03920bda87818fe7758c6b2f5c07bcc3ea7:KOJI_FETCH_HEAD From https://gitee.com/fundawang/postfix * [new ref] 5f12f03920bda87818fe7758c6b2f5c07bcc3ea7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5f12f03 3.7.10