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