$ git clone -n https://gitee.com/kanghou-silver/lshw.git /var/lib/mock/dist-an8.8-build-279171-64448/root/chroot_tmpdir/scmroot/lshw Cloning into '/var/lib/mock/dist-an8.8-build-279171-64448/root/chroot_tmpdir/scmroot/lshw'... $ git fetch origin 5264860ff8e0a1bdc3f8a1dab9daa7e3958118c2:KOJI_FETCH_HEAD From https://gitee.com/kanghou-silver/lshw * [new ref] 5264860ff8e0a1bdc3f8a1dab9daa7e3958118c2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5264860 add sw