$ git clone -n https://gitee.com/kamiyadm/linglong.git /var/lib/mock/dist-an23.2-build-408115-72639/root/chroot_tmpdir/scmroot/linglong Cloning into '/var/lib/mock/dist-an23.2-build-408115-72639/root/chroot_tmpdir/scmroot/linglong'... $ git fetch origin 059143efd6341f9cd59aba4151f4548fe20af0f9:KOJI_FETCH_HEAD From https://gitee.com/kamiyadm/linglong * [new ref] 059143efd6341f9cd59aba4151f4548fe20af0f9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 059143e Add posttrans to spec file.