$ git clone -n https://gitee.com/zhonglingh/python-lmdb.git /var/lib/mock/dist-an23-epao-build-348879-70434/root/chroot_tmpdir/scmroot/python-lmdb Cloning into '/var/lib/mock/dist-an23-epao-build-348879-70434/root/chroot_tmpdir/scmroot/python-lmdb'... $ git fetch origin dff594e302e7d508a2fa26aa8e0435d0eac1e621:KOJI_FETCH_HEAD From https://gitee.com/zhonglingh/python-lmdb * [new ref] dff594e302e7d508a2fa26aa8e0435d0eac1e621 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at dff594e init from upstream