$ git clone -n https://gitee.com/gordonwwang/rust.git /var/lib/mock/dist-ocs23-build-194939-13158/root/chroot_tmpdir/scmroot/rust Cloning into '/var/lib/mock/dist-ocs23-build-194939-13158/root/chroot_tmpdir/scmroot/rust'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/gordonwwang/rust * [new ref] HEAD -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6d3331f modify sources