$ git clone -n https://gitee.com/feng-weiyao/acl.git /var/lib/mock/dist-ocs23-build-114938-7795/root/chroot_tmpdir/scmroot/acl Cloning into '/var/lib/mock/dist-ocs23-build-114938-7795/root/chroot_tmpdir/scmroot/acl'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/feng-weiyao/acl * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9945efc !9 111 Merge pull request !9 from nilusyi/master