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