$ git clone -n https://gitee.com/opencloudos-stream/rtorrent.git /var/lib/mock/dist-oc9-epol-build-78396-53030/root/chroot_tmpdir/scmroot/rtorrent Cloning into '/var/lib/mock/dist-oc9-epol-build-78396-53030/root/chroot_tmpdir/scmroot/rtorrent'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/rtorrent * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e2fd542 package init