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