$ git clone -n https://gitee.com/gcdota930915/swig.git /var/lib/mock/dist-an23.3-build-418900-72878/root/chroot_tmpdir/scmroot/swig Cloning into '/var/lib/mock/dist-an23.3-build-418900-72878/root/chroot_tmpdir/scmroot/swig'... $ git fetch origin 17f0ac9a4cf0ceb05e314988a6333e8072e61e6e:KOJI_FETCH_HEAD From https://gitee.com/gcdota930915/swig * [new ref] 17f0ac9a4cf0ceb05e314988a6333e8072e61e6e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 17f0ac9 Update to 4.3.0 from 4.1.1 and fix issue #3058