$ git clone -n https://gitee.com/doriscchao/util-linux.git /var/lib/mock/dist-oc8-build-57239-15495/root/chroot_tmpdir/scmroot/util-linux Cloning into '/var/lib/mock/dist-oc8-build-57239-15495/root/chroot_tmpdir/scmroot/util-linux'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/doriscchao/util-linux * [new ref] -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5c11fe4 init git for util-linux