$ git clone -n https://gitee.com/wenyuzifang/rubygem-asciidoctor.git /var/lib/mock/dist-an23-build-481768-74252/root/chroot_tmpdir/scmroot/rubygem-asciidoctor Cloning into '/var/lib/mock/dist-an23-build-481768-74252/root/chroot_tmpdir/scmroot/rubygem-asciidoctor'... $ git fetch origin bbb0dc6251e16572e2ca91d4c28b875f6ce7196a:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/rubygem-asciidoctor * [new ref] bbb0dc6251e16572e2ca91d4c28b875f6ce7196a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bbb0dc6 Update code from upstream