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