$ git clone -n https://gitee.com/fundawang/python-oauthlib.git /var/lib/mock/dist-an23-build-302905-66007/root/chroot_tmpdir/scmroot/python-oauthlib Cloning into '/var/lib/mock/dist-an23-build-302905-66007/root/chroot_tmpdir/scmroot/python-oauthlib'... $ git fetch origin cabb720d6d2192c1d714041c74b81690a6661930:KOJI_FETCH_HEAD From https://gitee.com/fundawang/python-oauthlib * [new ref] cabb720d6d2192c1d714041c74b81690a6661930 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cabb720 build with whell