$ git clone -n https://gitee.com/opencloudos-stream/rust-rpassword.git /var/lib/mock/dist-oc9-epol-build-98606-60283/root/chroot_tmpdir/scmroot/rust-rpassword Cloning into '/var/lib/mock/dist-oc9-epol-build-98606-60283/root/chroot_tmpdir/scmroot/rust-rpassword'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/rust-rpassword * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bec72f0 update