$ git clone -n https://gitee.com/wenyuzifang/wireshark.git /var/lib/mock/dist-an23-build-465164-73941/root/chroot_tmpdir/scmroot/wireshark Cloning into '/var/lib/mock/dist-an23-build-465164-73941/root/chroot_tmpdir/scmroot/wireshark'... $ git fetch origin 2ac31f629b5b37f0320427ad3c093fa8e38a666c:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/wireshark * [new ref] 2ac31f629b5b37f0320427ad3c093fa8e38a666c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2ac31f6 Update code from upstream