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