$ git clone -n https://gitee.com/os-newbie/ssar_1.git /var/lib/mock/dist-an8.9-build-416264-72835/root/chroot_tmpdir/scmroot/ssar_1 Cloning into '/var/lib/mock/dist-an8.9-build-416264-72835/root/chroot_tmpdir/scmroot/ssar_1'... $ git fetch origin 35889e4b237db27cd7f861efd825265497e0cfcb:KOJI_FETCH_HEAD From https://gitee.com/os-newbie/ssar_1 * [new ref] 35889e4b237db27cd7f861efd825265497e0cfcb -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 35889e4 update to 1.0.5