$ git clone -n https://gitee.com/newstart-gdlc/nde-fileman.git /var/lib/mock/dist-an8.9-nde-build-409473-72671/root/chroot_tmpdir/scmroot/nde-fileman Cloning into '/var/lib/mock/dist-an8.9-nde-build-409473-72671/root/chroot_tmpdir/scmroot/nde-fileman'... $ git fetch origin 99b218373b50d99063a1895b92ba3f38a34ec570:KOJI_FETCH_HEAD From https://gitee.com/newstart-gdlc/nde-fileman * [new ref] 99b218373b50d99063a1895b92ba3f38a34ec570 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 99b2183 fix build error