$ git clone -n https://gitee.com/hongwei-qin/ndctl.git /var/lib/mock/dist-an23.3-build-416950-72867/root/chroot_tmpdir/scmroot/ndctl Cloning into '/var/lib/mock/dist-an23.3-build-416950-72867/root/chroot_tmpdir/scmroot/ndctl'... $ git fetch origin de212cbe35eefe68aeab78dc67769f0750786a2d:KOJI_FETCH_HEAD From https://gitee.com/hongwei-qin/ndctl * [new ref] de212cbe35eefe68aeab78dc67769f0750786a2d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at de212cb update to 80