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