$ git clone -n https://gitee.com/wenyuzifang/python-trustme.git /var/lib/mock/dist-an23-build-466122-73955/root/chroot_tmpdir/scmroot/python-trustme Cloning into '/var/lib/mock/dist-an23-build-466122-73955/root/chroot_tmpdir/scmroot/python-trustme'... $ git fetch origin 47109e8c75b7d06d1edad071cc1be1e9eee12569:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/python-trustme * [new ref] 47109e8c75b7d06d1edad071cc1be1e9eee12569 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 47109e8 Update code from upstream