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