$ git clone -n https://gitee.com/opencloudos-stream/qoauth.git /var/lib/mock/dist-rebuild-after-rpm-check-build-174795-10981/root/chroot_tmpdir/scmroot/qoauth Cloning into '/var/lib/mock/dist-rebuild-after-rpm-check-build-174795-10981/root/chroot_tmpdir/scmroot/qoauth'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/qoauth * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 31e9015 update