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