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