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