$ git clone -n https://gitee.com/lzq11122/python-jupyter-server.git /var/lib/mock/dist-an23-build-447737-73363/root/chroot_tmpdir/scmroot/python-jupyter-server Cloning into '/var/lib/mock/dist-an23-build-447737-73363/root/chroot_tmpdir/scmroot/python-jupyter-server'... $ git fetch origin a580fa6c1cf99f29407e02f7d91d365542edbcec:KOJI_FETCH_HEAD From https://gitee.com/lzq11122/python-jupyter-server * [new ref] a580fa6c1cf99f29407e02f7d91d365542edbcec -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a580fa6 test