$ git clone -n https://gitee.com/opencloudos-stream/netatalk.git /var/lib/mock/dist-oc9-epol-build-105749-66635/root/chroot_tmpdir/scmroot/netatalk Cloning into '/var/lib/mock/dist-oc9-epol-build-105749-66635/root/chroot_tmpdir/scmroot/netatalk'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/netatalk * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ecd9d22 !1 Remove not used macors Merge pull request !1 from brucezhang/master