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