$ git clone -n https://gitee.com/fundawang/conntrack-tools.git /var/lib/mock/dist-an23-build-319740-67868/root/chroot_tmpdir/scmroot/conntrack-tools Cloning into '/var/lib/mock/dist-an23-build-319740-67868/root/chroot_tmpdir/scmroot/conntrack-tools'... $ git fetch origin 6d38e9074b4518a6d2ce3686bb92c0019548278c:KOJI_FETCH_HEAD From https://gitee.com/fundawang/conntrack-tools * [new ref] 6d38e9074b4518a6d2ce3686bb92c0019548278c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6d38e90 1.4.8