$ git clone -n https://gitee.com/opencloudos-stream/strongswan.git /var/lib/mock/dist-rebuild-after-rpm-check-build-171246-10514/root/chroot_tmpdir/scmroot/strongswan Cloning into '/var/lib/mock/dist-rebuild-after-rpm-check-build-171246-10514/root/chroot_tmpdir/scmroot/strongswan'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/strongswan * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 83c4cea update