$ git clone -n https://gitee.com/src-anolis-os/python-passlib.git /var/lib/mock/dist-an23-build-303344-66044/root/chroot_tmpdir/scmroot/python-passlib Cloning into '/var/lib/mock/dist-an23-build-303344-66044/root/chroot_tmpdir/scmroot/python-passlib'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/python-passlib * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 17d9b74 init upstream from version 1.7.4