$ git clone -n https://gitee.com/fundawang/openssl.git /var/lib/mock/dist-an23-build-302809-66007/root/chroot_tmpdir/scmroot/openssl Cloning into '/var/lib/mock/dist-an23-build-302809-66007/root/chroot_tmpdir/scmroot/openssl'... $ git fetch origin 2c8f109cf7ec6678644f3b2de5ae52ffe6637032:KOJI_FETCH_HEAD From https://gitee.com/fundawang/openssl * [new ref] 2c8f109cf7ec6678644f3b2de5ae52ffe6637032 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2c8f109 3.0.11