$ git clone -n https://gitee.com/opencloudos-stream/baobab.git /var/lib/mock/dist-ocs23-build-107310-6216/root/chroot_tmpdir/scmroot/baobab Cloning into '/var/lib/mock/dist-ocs23-build-107310-6216/root/chroot_tmpdir/scmroot/baobab'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/baobab * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 28a1692 !2 Replace hardcode to variable for auto-upgrade. Merge pull request !2 from rockerzhu/master