$ git clone -n https://gitee.com/newstart-gdlc/nde-powermanagement_1.git /var/lib/mock/dist-an23-nde-build-506456-74872/root/chroot_tmpdir/scmroot/nde-powermanagement_1 Cloning into '/var/lib/mock/dist-an23-nde-build-506456-74872/root/chroot_tmpdir/scmroot/nde-powermanagement_1'... $ git fetch origin aa6d46c9110cc624cc7bb422ad1df71e73041df6:KOJI_FETCH_HEAD From https://gitee.com/newstart-gdlc/nde-powermanagement_1 * [new ref] aa6d46c9110cc624cc7bb422ad1df71e73041df6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at aa6d46c Fix build error