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