$ git clone -n https://gitee.com/happy_orange/zookeeper.git /var/lib/mock/dist-an8-epao-build-421690-72910/root/chroot_tmpdir/scmroot/zookeeper Cloning into '/var/lib/mock/dist-an8-epao-build-421690-72910/root/chroot_tmpdir/scmroot/zookeeper'... $ git fetch origin 673ffb0dc26cd6a3e6ddf6e48026e246c9e5c849:KOJI_FETCH_HEAD From https://gitee.com/happy_orange/zookeeper * [new ref] 673ffb0dc26cd6a3e6ddf6e48026e246c9e5c849 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 673ffb0 init package