$ git clone -n https://gitee.com/fundawang/wireshark.git /var/lib/mock/dist-an23-build-295441-65781/root/chroot_tmpdir/scmroot/wireshark Cloning into '/var/lib/mock/dist-an23-build-295441-65781/root/chroot_tmpdir/scmroot/wireshark'... $ git fetch origin 00c5175c4f06b9ed92c298fd1e35871b85af5296:KOJI_FETCH_HEAD From https://gitee.com/fundawang/wireshark * [new ref] 00c5175c4f06b9ed92c298fd1e35871b85af5296 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 00c5175 4.0.8