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