$ git clone -n https://gitee.com/fundawang/libssh.git /var/lib/mock/dist-an23-build-339213-69773/root/chroot_tmpdir/scmroot/libssh Cloning into '/var/lib/mock/dist-an23-build-339213-69773/root/chroot_tmpdir/scmroot/libssh'... $ git fetch origin ab4e40f0d2740965db14581c31bf83158beb9086:KOJI_FETCH_HEAD From https://gitee.com/fundawang/libssh * [new ref] ab4e40f0d2740965db14581c31bf83158beb9086 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ab4e40f 0.10.6