$ git clone -n https://gitee.com/opencloudos-stream/filesystem.git /var/lib/mock/dist-ocs23-base-build-251381-24615/root/chroot_tmpdir/scmroot/filesystem Cloning into '/var/lib/mock/dist-ocs23-base-build-251381-24615/root/chroot_tmpdir/scmroot/filesystem'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/filesystem * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4ae7295 !2 Use lua instead of shell in posttran Merge pull request !2 from kianli/master