$ git clone -n https://gitee.com/mgb01105731/yaml-cpp.git /var/lib/mock/dist-an23-build-286580-64835/root/chroot_tmpdir/scmroot/yaml-cpp Cloning into '/var/lib/mock/dist-an23-build-286580-64835/root/chroot_tmpdir/scmroot/yaml-cpp'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/yaml-cpp * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f8f3335 init upstream from version 0.7.0