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