$ git clone -n https://gitee.com/fundawang/libssh2.git /var/lib/mock/dist-an23-build-285159-64769/root/chroot_tmpdir/scmroot/libssh2 Cloning into '/var/lib/mock/dist-an23-build-285159-64769/root/chroot_tmpdir/scmroot/libssh2'... $ git fetch origin e69e21beb48ced8a2b018d90a4a54c751705b9be:KOJI_FETCH_HEAD From https://gitee.com/fundawang/libssh2 * [new ref] e69e21beb48ced8a2b018d90a4a54c751705b9be -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e69e21b fix