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