$ git clone -n https://gitee.com/newstart-gdlc/nde-kwin_2.git /var/lib/mock/dist-an23-nde-build-498433-74677/root/chroot_tmpdir/scmroot/nde-kwin_2 Cloning into '/var/lib/mock/dist-an23-nde-build-498433-74677/root/chroot_tmpdir/scmroot/nde-kwin_2'... $ git fetch origin 9d554ecf3003605438729806d2aaa197e1aa5d97:KOJI_FETCH_HEAD From https://gitee.com/newstart-gdlc/nde-kwin_2 * [new ref] 9d554ecf3003605438729806d2aaa197e1aa5d97 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9d554ec Modify spec file