$ git clone -n https://gitee.com/newstart-gdlc/nde-indexhtml.git /var/lib/mock/dist-an8.9-nde-build-447002-73015/root/chroot_tmpdir/scmroot/nde-indexhtml Cloning into '/var/lib/mock/dist-an8.9-nde-build-447002-73015/root/chroot_tmpdir/scmroot/nde-indexhtml'... $ git fetch origin 2096bf3763a3d748651ca1f268db8ddf9daddac0:KOJI_FETCH_HEAD From https://gitee.com/newstart-gdlc/nde-indexhtml * [new ref] 2096bf3763a3d748651ca1f268db8ddf9daddac0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2096bf3 add nde-indexhtml